Unarchive(string, string, bool)

For Mechanical opened independently, without Workbench. Unarchive a Mechanical project and open it. If projectPath is provided, the project will be unarchived to this given projectPath. If projectPath is not provided or is null or empty, the project will be unarchived to a temporary folder. Returns a path to the unarchived project database file.

Declaration Syntax

public virtual string Unarchive(string archivePath, string projectPath, bool overwrite)

Parameters

archivePath(string)

File path of the archive file (*.mechpz) to open.

projectPath(string)

Optional - File path where the project will be unarchived and saved.

overwrite(bool)

Optional - Overwrite an existing project located at projectPath. The default is False.