On this page |
Overview
Once you create a digital asset, you can use the Type properties window to edit the new node’s parameter interface. You can promote parameters from the node inside the asset up to the asset’s user interface. You can also add render properties to object assets for control over how they're rendered.
Right click an instance of the asset and choose Type properties, the click the Parameters tab.
As you edit the asset’s interface, remember that you need to click Apply or Accept in the type properties window to see the changes on the node.
Create and promote parameters
To... | Do this |
---|---|
Promote a parameter |
In the network editor, dive inside the asset and select the node with the parameter you want to promote. Find the parameter in the parameter editor pane. Then do one of the following:
Or
|
Promote all parameters of a node |
In the network editor, dive inside the asset and select the node with the parameter you want to promote. Then drag the node into the parameter list of the type properties window. If you drag a nested digital asset into the list, Houdini will promote the parameters from the nested asset with their organization intact. |
Promote hidden or un-draggable parameters |
In the type properties window, on the Parameters tab, click the From nodes subtab under Create parameters. This shows a tree view of every parameter on every node in the entire scene. Use it to find the node and parameter you want and drag it into the parameter list under Existing parameters. |
Create a new parameter from scratch |
In the type properties window, on the Parameters tab, click the By type subtab under Create parameters. Drag the type of parameter you want to create into the parameter list under Existing parameters. You can channel reference the value of the parameter on nodes inside the asset, or use it in scripts. |
Make a menu parameter |
You can channel reference the value of the parameter on nodes inside the asset, or use it in scripts. |
Organize parameters
To... | Do this |
---|---|
Organize parameters into groups |
You can also drag a Separator into the parameter list to create a separator line between groups of parameters. |
Put consecutive parameters side-by-side to save space |
|
Set up the asset for animation
To... | Do this |
---|---|
Make a parameter auto-scope in the channel editor |
|
Add scripted controls and behavior
To... | Do this |
---|---|
Run a script whenever a parameter changes |
In the type properties window, select the parameter under Existing parameters, then under Parameter description, on the Parameter sub-tab, enter a script in the Callback script field. The pop-up menu to the right of the Callback script field lets you choose whether the script is HScript or Python. See the help for the Parameters sub-tab for more information. See the HOM documentation for information on Python parameter callback scripts. |
Run a script when an instance is created or destroyed |
See the HOM documentation for Python event handlers. |
Handles and HUD sliders
You can also promote handles and HUD sliders from nodes inside the asset, so they appear in the viewport when the asset is selected. The type properties window must be open.
If you want a handle to drive parameters on nodes inside the asset, you must first promote the parameters onto the asset, then you can bind them to a handle.
Note
Handles and HUD sliders only appear when you are using the Handles tool, unless you right-click them and turn on "Persistent".
To... | Do this |
---|---|
Promote handles or HUD sliders from inside the asset |
You may need to deselect and reselect the node for the handle/slider to show up. |
Create a handle for parameters on your asset |
|