FaceFX Support

FaceFX Documentation and support

FaceFX commands - graph

Modes

Flag LongFlag Arg Description
-lo -layout No lays out the entire graph.
-an -addnode No Puts the command in add node mode.
-en -editnode No Puts the command in edit node mode.
-rn -removenode No Puts the command in remove node mode.
-l -link No Puts the command in link mode.
-ul -unlink No Puts the command in unlink mode.
-el -editlink No Puts the command in editlink mode.
-zf ‑zoomtofit No Fits the face graph in the view.

Flags

Flag LongFlag Arg Description
-nt -nodetype Yes Used with -addnode mode.  Specifies the type of node to add (“FxCombinerNode”, “FxMorphTargetNode”, etc).
-n -name Yes required in add, remove, and edit modes.  Specifies the name of the node.
-nx -nodex Yes Used with -add mode. The X coordinate in Face Graph space.
-ny -nodey Yes Used with -add mode. The Y coordinate in Face Graph space.
-io -inputop Yes The input op of the node in add or edit modes.  Use “sum”, “mul”, “min”, or “max”
‑min -minimum Yes The minimum value for the node.  Used in add or edit modes.
‑max -maximum Yes The maximum value for the node.  Used in add or edit modes.
-f -from Yes Used in link, editlink, and unlink modes to specify the link origin node.
-t -to Yes Used in link, editlink, and unlink modes to specify the link termination node.
-lf -linkfn Yes Used in link and editlink modes to specify the link function. (e.g. “linear”, “corrective”, etc.)
-lp ‑linkfnparams Yes Used in link and editlink modes to specify the link function parameters.  Accepts a string array with param=value format (e.g. “m=1|b=0”)
-up -userprops Yes Used in add and editnode modes to specify the node user properties.  Accepts a string array with parameter names and parameter values separated by pipe characters. (-userprops “Morph Target Name|my_target_name”)

Examples

%graph -addnode -name "test" -nodetype "FxMorphTargetNode" -min -1 -inputop "max" -userprops "Morph Target Name|my_target_name";