Hi Alex,
Requirement: “Need to get all Connectors that connected to the (NodeViewModel)Node from this Node”.
We have analyzed your requirement and achieve your requirement by using InConnectors and OutConnectors property of INodeInfo. We have provided a code example to represent your requirement. Please refer to the code example as below.
Code example:
int InCount;
int OutCount;
INodeInfo info= node.Info as INodeInfo;
//Inconnectors
InCount = info.InConnectors.Count();
//InOutconnectors
OutCount = info.OutConnectors.Count();
Here,
node is instance of NodeViewModel.
|
Regards,
Keerthivasan R.