ALCEngine.FindNode



FindNode(lElementID As Long,bsPicture As String) As ALCNode

Parameters

lElementID As Long
ID from one of the line elements which is connected to the node.
bsPicture As String
String that defines the picture in which the ALC element is used.
ED
avaliable
RT
avaliable

Remarks

This method returns an ALC node from a specific picture with a specific ID (ID of the element in the picture).

Sample:


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


See Also

ALCEngine, ALCNode