API Help
Eplan.EplApi.DataModel Namespace / ProjectManager Class / GetProjectByObjectId Method

GetProjectByObjectId Method
Gets the project of an object id string. This is the project the object belongs to.
Syntax
public Project GetProjectByObjectId( 
   string objectId
)

Parameters

objectId

Return Value

Project : project object. When there is no project found the return value is null.
Exceptions
ExceptionDescription
Thrown when the object id is invalid.
Thrown when objectId is null.
See Also