opdelscript command

Gets or sets a script to run when an operator is deleted.

Replaced by: hou.Node

All Usages Options Examples

Usages

  1. opdelscript [-c delete_script] [-a] node [node2 ...]

If you don’t specify a script with -c, the command prints the current delete script for the operator.

Options

-c delete_script

Sets the script to run when the operator is deleted.

-a

The script line given with -c is appended to the current delete script instead of overwriting it.

Examples

opdelscript -c 'unix echo Deleting Object' geo*
opdelscript -a -c 'unix echo Still Deleting Object' geo*