opset command

Turns various operator flags on or off.

Replaced by: hou.ObjNode, hou.CopNode, hou.Node, hou.SopNode, hou.DopNode, hou.PopNode, hou.RopNode, hou.ChopNode

All Usages Options Examples

See also: opadd, opchangetype, opparm, opget

Usages

  1. opset [-q] [flag on|off|toggle|number] ... operators ...

Options

-q

(Quiet) Do not print warnings about unknown flags or operators.

flag on|off|toggle|number

“on” turns the flag on, “off” turns the flag off, “toggle” flips the flag’s state. If you specify a number, 0 turns the flag off, any other number turns the flag on. Some flags, such as lock, accept additional values, see below.

You can set the following flags:

-d

Display

-V

Visible (similar to display, but will also try to set the parent’s visible children parameters to make an operator visible.

-r

Render

-t

Template

-b

Bypass

-l

Lock. Specify “off”, “soft”, or “hard”. (“on” is the same as hard).

-e

Expose

-h

Highlight

-f

Footprint

-s

Save data in a motion file.

-u

Unload data after cook (SOPs or CHOPs only).

-c

Compress icon.

-C

Is current

-p

Picked

The following flags are only available for objects:

-S

Selectable in viewport

-x

Object pivot axes

-y

Xray

The following flags are only available for CHOPs.

-a

Audio

-o

Export

Examples

opset -d on geo*
opset -p off light*
opset -l hard -s on geo*/*