|
ED
|
avaliable
|
RT
|
avaliable
|
This method returns an ALC node from a specific picture with a specific ID (ID of the element in the picture).
Sub FindNode() Dim zAlcEngine As ALCEngine 'Object from type ALCEngine Dim zAlcNode As ALCNode 'Child object from type ALCEngine 'Get ALCEngine data from the project Set zAlcEngine = thisProject.ALCEngine 'Returns a ALC node with a specific ID (ID from one of the connected line elements) from a specific picture Set zAlcNode = zAlcEngine.FindNode("BILD3", 18) 'Returns the number of procedural elements which are connected to the line element MsgBox "Number of connected procedural elements = " & zAlcNode.EdgeCount End Sub