omsbind
command
Binds an operator parameter to a selector
Replaced by: hou.selectorBindings
See also: omsbindinfo, omsls, omsunbind, omswhere
Usages
-
omsbind [-t obj|sop|pop|cop2] op_parm selector sel_description sel_prompt op_input_index op_input_required primmask allow_drag menu_name ast_sel_all
Options
|
|
Network type. Default is sop. |
|
|
the operator and the parameter to be bound, delimited by a colon. The parameter specification is optional. |
|
|
Name of the selector type. A list of selectors can be obtained using the omsls command. |
|
|
Description of the purpose of the selector. Used with omsunbind. |
|
|
The string that is displayed in the status area when the selector is active. |
|
|
Index of operator input where the result of this selection should be fed. |
|
|
Whether this input is required. |
|
|
A string representing the types of primitives that can be picked using this selector. This string can have one or more primitive types, or primitive types preceded by a “^” to remove that primitive type from the selectable primitive types. The available primitive types are: all, face, poly, nurbcurve, bezcurve, hull, mesh, nurb, bez, quadric, circle, sphere, tube, particle, and meta. |
|
|
Whether the user is allowed to select and begin manipulation with a single mouse click. |
|
|
Name of the operator’s “Group Type” parameter (or “” if there is none). This lets the selector set this parameter to “Primitive” if the user selected primitives, “Points” if the user selected points, etc. |
|
|
If set to a non-zero value, this indicates that the group parameter requires a “*“ to select all geometry. A zero value indicates that the group parameter should be left blank if the whole geometry is selected. |
Examples
omsbind -t obj blend objselect "Second Input" "Select the second blend input" 1 1 all 0 "" 0Binds a simple object selector to the second input of the blend object.