Eplan Platform API
Eplan.EplApi.DataModel Namespace / ProjectManager Class / GetProject Method
Full link file name "C:\\Eplan\\P8\\Projects\\ESS_Sample_Project.elk"

In This Topic
    GetProject Method (ProjectManager)
    In This Topic
    Gets an already open project.
    Syntax
    public Project GetProject( 
       string linkFileName
    )
    public:
    Project^ GetProject( 
       String^ linkFileName
    ) 

    Parameters

    linkFileName
    Full link file name "C:\\Eplan\\P8\\Projects\\ESS_Sample_Project.elk"

    Return Value

    Project : project object or null
    Exceptions
    ExceptionDescription
    Thrown if the source project does not exist
    Thrown when linkFileName is null.
    Thrown when LockProjectByDefault is true and a project cannot be locked.
    Remarks
    if the project is not already open, this method returns null This method works with a project and embedded libraries: project settings, symbol libraries and the function libraries.
    See Also