chlock hscript command
Locks parameters so they can’t be modified.
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
-d | Prints the chlock command for the given parameters. If no parameters are given, prints the chlock command for the entire node. |
-u | 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. |
-q | Quiet mode suppresses error and warning messages. |
Examples
Locks all the translate parameters on the /obj/model object.chlock /obj/model +t?
Locks the rx and ry parameters on the /obj/model object.chlock /obj/model +rx +ry
Unlocks all the rotate parameters in the /obj/model object.chlock /obj/model -r?
Unlocks all parameters in the /obj/model object.chlock /obj/model -*
Prints the chlock command for /obj/model.chlock -d /obj/model
Replaced by
Replaced by hou.Parm.lock, hou.Parm.isLocked, hou.ParmTuple.lock
