public Project CurrentProject {get;}
Property Value
First opened Project, or when there are no projects openednull is returned.public Project CurrentProject {get;}
null is returned.| Exception | Description |
|---|---|
| Eplan.EplApi.Base.BaseException | Exception is thrown, when current project is not locked and cannot be locked. |
| ProjectLockingException | Thrown when LockProjectByDefault is true and a project cannot be locked. |
| InvalidHandleException | Thrown when current project is invalid. |