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

Synopsis

vnnConnect [-copyMetaData] [-disconnect] [dg container] [full path to first port] [full path to second port]

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

copyMetaData, disconnect
Long name (short name) Argument types Properties
-copyMetaData(-cm) create
If the connection is a child node input connecting to the parent compound input node, copy relevant port metadata from the child node input to the parent compound external input. Port metadata to copy is specified 1) in the runtime, and 2) by setting the "metaDataToCopy" port metadata value on the child node input to a comma-separated string listing the desired metadata names.
-disconnect(-d) create
Deletes 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 be used more than once in a command.

MEL examples

file -f -new;
createNewBifrostGraphCmd;

vnnCompound "bifrostGraphShape1" "/" -addNode "BifrostGraph,Core::Math,add";
vnnCompound "bifrostGraphShape1" "/" -addNode "BifrostGraph,Core::Math,subtract";

vnnNode "bifrostGraphShape1" "/subtract" -createInputPort "input" "auto";
vnnConnect "bifrostGraphShape1" "/add.output" "/subtract.input";