Eplan Platform API
Eplan.EplApi.DataModel Namespace / ProjectManager Class / UpgradeProjectDatabase Method / UpgradeProjectDatabase(String,String) Method
Path to old .elk project file.
Path where upgraded project will be written.

In This Topic
    UpgradeProjectDatabase(String,String) Method
    In This Topic
    Upgrades project. You can check if project need to be upgrade by GetProjectDataCompatibility.
    Syntax
    public bool UpgradeProjectDatabase( 
       string projectPath,
       string newProjectPath
    )
    public:
    bool UpgradeProjectDatabase( 
       String^ projectPath,
       String^ newProjectPath
    ) 

    Parameters

    projectPath
    Path to old .elk project file.
    newProjectPath
    Path where upgraded project will be written.

    Return Value

    Function returns value about success.
    Exceptions
    ExceptionDescription
    Thrown when project projectPath doesn't exist.
    Thrown when projectPath or newProjectPath is null.
    Remarks
    Upgrading project invalidates Project objects having projectPath path.
    See Also