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

In This Topic
    GetProjectByObjectId Method
    In This Topic
    Gets the project of an object id string. This is the project the object belongs to.
    Syntax
    public Project GetProjectByObjectId( 
       string objectId
    )
    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