ALCEngine.EdgeItem



EdgeItem(lIndex As Long) As ALCEdge

Parameters

lIndex As Long
Position of the element in the project.
ED
avaliable
RT
avaliable

Remarks

This method returns a procedural element (generator, source, switch, disconnector, drain, transformator, link) from the project. Such an element is from type ALCEdge.

Sample:


Sub GetEdgeItem()

Dim zAlcEngine As ALCEngine 'Object from type ALCEngine
Dim zAlcEdge As ALCEdge 'Child object from type ALCEngine

'Get ALCEngine data from the project
Set zAlcEngine = MyWorkspace.ActiveDocument.ALCEngine
'Get the first ALC procedural element of the project
Set zAlcEdge = zAlcEngine.EdgeItem(0)
MsgBox "Element is in picture = " & zAlcEdge.Picture

End Sub


See Also

ALCEngine, ALCEdge

 

[an error occurred while processing this directive]