Go to: Synopsis. Return value. Keywords. Flags. Python examples.

Synopsis

vnnConnect( string string string , [disconnect=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

vnnConnect is undoable, NOT queryable, and NOT editable.

Makes a connection between two VNN node ports. The first parameter is the full name of the DG node that contains the VNN graph. The next two parameters are the full path of the ports from the root of the VNN container. This command can be used for compound or node connections, and the parameters can be out-of-order.

Return value

None

Keywords

Bifrost

Flags

disconnect
Long name (short name) Argument types Properties
disconnect(d) boolean create
delete the connection if it exists, rather than creating a new connection

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

vnnConnect( disconnect=True, "bifrostfoam1|bifrostfoamContainer1", "foam.foamObject" "foam.fatFoamEvaluationCompound.foamObject")