Eplan Platform API
Eplan.EplApi.HEServices Namespace / SelectionSet Class / Selection Property

In This Topic
    Selection Property
    In This Topic
    Gets the complete selection on the active window. Property LockProjectByDefault should be set to true before any changes on any inside elements of obtained objects.
    Syntax
    public StorableObject[] Selection {get;}
    public:
    property array<StorableObject^>^ Selection {
       array<StorableObject^>^ get();
    }

    Property Value

    Array of selected objects casted to class Eplan.EplApi.DataModel.StorableObject.
    Remarks
    When a node is selected, this is only the first element. The property can work only within one project.
    See Also