Eplan Platform API
Eplan.EplApi.DataModel Namespace / ProjectManager Class / OpenProjects Property

In This Topic
    OpenProjects Property
    In This Topic
    Returns list of all open projects.
    Syntax
    public Project[] OpenProjects {get;}
    public:
    property array<Project^>^ OpenProjects {
       array<Project^>^ get();
    }

    Property Value

    Array of all open Projects. When there are no open projects, a 0-size array is returned.
    Exceptions
    ExceptionDescription
    Thrown when LockProjectByDefault is true and a project cannot be locked.
    Remarks
    If LockProjectByDefault is set to true, OpenProjects tries to lock the returned projects. If not all open projects can be locked, OpenProjects throws a ProjectLockingException. Please consider this if you work with e.g. write-protected or revisioned projects.
    See Also