AddConnection Data Member Function

Forms a connection between this object and another <Node> in the same document.

Prototype

int32 AddConnection( int32 p_nIndex, Node p_oTarget )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the input or output socket connection formed by this <Node>. Typically <ConnectorNode> objects model input and output connections from one <WorkflowNode> to another, but are only connected to <WorkflowNode> objects. This value determines which of the <WorkflowNode> object's input sockets or output node object's to which the connection refers.
<Node>p_oTargetA pointer to a <Node> in the same document to which this <ConnectorNode> is connected.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.