chlock command
Locks parameters so they can’t be modified.
Replaced by: hou.Parm, hou.ParmTuple
See also: chautoscope
Usages
-
chlock node_path [+|-]parameter ... -
chlock -d [-u] [-q] node_path [parameter] ...
This command can be used either to lock or unlock parameters. Prefix the parameter pattern with a + to lock the parameter, or - to unlock the parameter.
Options
|
|
Prints the chlock command for the given parameters. If no parameters are given, prints the chlock command for the entire node. |
|
|
Normally, the -d option with no parameters given will print the locked parameters. This option prints the unlocked parameters. It is only valid with the -d option and no parameters specified. |
|
|
Quiet mode suppresses error and warning messages. |
Examples
chlock /obj/model +t?
Locks all the translate parameters on the /obj/model object.
chlock /obj/model +rx +ry
Locks the rx and ry parameters on the /obj/model object.
chlock /obj/model -r?Unlocks all the rotate parameters in the /obj/model object.
chlock /obj/model -*
Unlocks all parameters in the /obj/model object.
chlock -d /obj/modelPrints the chlock command for /obj/model.