Prints the commands necessary to recreate an operator.
opscript [-r] [-m in_wire out_wire | -g] [-o] [-n] [-P] [-b] [[-v | -w] | [-c | -d]] [-s] [-G] [-C] [-N] [-S] [-f] name_pattern
For the operators specified by name_pattern, this will echo the commands necessary to re-create the operator.
Recursively apply to the entire operator hierarchy. The command will not output script for internal node creation in a locked asset, only the top level of the asset.
Print top-level arguments in macro form. The names will have to be specified when the results script is sourced. This option creates more general code than -g.
in_wire and out_wire specify the input and output wire nodes.
When generating a script, use full paths (rather than relative paths) when descending to the lower level of the folder hierarchy, if a directory change is required in such a script.
Print top-level arguments in general form. The names will have to be specified when the results script is sourced.
Save outgoing wires as well.
Don’t save spare parameters or channels.
Do not output chblockbegin/chblockend commands. Normally the output encloses all chadd and chkey commands inside chblockbegin/chblockend commands for efficiency.
(Brief) Do not print values if they are the parameter’s default.
Evaluate channel values, do not print channel information.
Same as the -v option, but only applies to the root node when recursing with the -r option.
Only output channels (overrides -v).
Same as the -c option, but only applies to the root node when recursing with the -r option.
Output channel and key times in samples (frames) instead of seconds.
Save the groups of each node also. Note that you must be working on a manager or subnet node to use this option, since only those kinds of nodes can store groups.
Generate a creation script for the operator. The script generated with this option is suitable as a creation script (i.e. the script run every time this type of operator is added). This option works in conjunction with the -v, -b, -c and -r options.
Script any network boxes that match name_pattern, without automatically scripting their contents.
Same as -N option, but also scripts each specified network box’s contents. Will avoid duplicate scripting of an operator if both the operator and its network box are specified by name_pattern.
Omit outputting version information.
opscript -r /obj/geo*
opscript -G /obj > /tmp/objgroups.cmd
opscript -S light* netbox*