Jump to content

Custom Handles?


platypus

Recommended Posts

Does anyone know of a way to create custom handles to control specific parameters, for instance the Duplicate SOP's "Number of copies"?

I am looking for something along the lines of the way that you can make handles "persitent" and lock all channels that you dont want the user to be able to change.

Link to comment
Share on other sites

Well, the duplicate sop is sort of a bad example since there's already a handle (albeit invisible) tied to it. If you look in the left viewport toolbar, you will notice that when you're in the Duplicate tool, there's two handle buttons. The tool tips for them say "Copies" and "Duplicate Transformer". The Copies handle let's you change the value when you middle-mouse drag in the viewport.

If you want to lock the channels that you don't want the user to change, you can right-click on the parameter and choose "Lock Channels".

In Houdini 5.5, to set up custom handles, you must do it via scripting. To see a list of the related commands, do "help om pom" in the textport. Then you can seek addional help on each individual command.

PS. om stands for Op Manipulator and pom stands for Persistent Op Manipulator in case you're wondering. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...