Archive(string, bool, ArchiveSettings)

For Mechanical opened independently, without Workbench. Archive a Mechanical project.

Declaration Syntax

public virtual void Archive(string archivePath, bool overwrite, ArchiveSettings settings)

Parameters

archivePath(string)

File path of the new archive.

overwrite(bool)

Optional - Overwrite an existing archive file located at archivePath if one exists. The default is False.

settings(ArchiveSettings)

Optional - Settings object to configure what files to include/exclude inside the archive file. The default includes all files.