XPrjActionUpgradeProjects
In This Topic
This action upgrades one ore more projects to the actual database scheme version.
| Parameter |
Description |
| Project |
Full project link file name
|
| Folder |
All projects in the folder and its subfolders are upgraded.
|
| Archive |
true: zw1 projects are also upgraded and packed afterwards.
|
| BaseProject |
true: zw9 and zx1 projects are also upgraded and packed afterwards.
|
| UpgradeWriteProtectedProjects |
true: ReadOnly projects are also upgraded (*.elr and *.elt, *.els, elx)
|
| UpgradeXMLProjects |
true: Projects/base projects in XML format are also upgraded (*.ept and *.epj, *.zx2)
|
| FileTypes |
*.*: All projects (same as *.elk,*.ell,*.elp,*.elr,*.elt,*.els,*.elx,*.zw1,*.zw9,*.zx1,*.ept,*.epj,*.zx2)
|
| PackOriginalProject |
true: The original projects will be packed into a 7zip file after upgrade (default = true).
|
| UpdateConnections |
true: The connections in project will be updated (default = false). Note: If "DoDataModelUpgrades" is false, this value will be ignored.
|
| NoBackup |
true: No Backup of the old version is created (default = false).
|
| IgnoreUpgradeBackups |
true: Backup projects will be ignored when converting a complete folder (default = false). Backup projects have naming [NAME]_V[Version]_[Backuptime]
|
| DoDataModelUpgrades |
true: Also data model corrections will be done (default = true). Note: If false, "UpdateConnections" will be ignored.
|
| FileDescription |
0: Default, will add new data backup description at the end.
1: Data backup description will not change.
2: Replace data backup description with new one.
|
Example
XPrjActionUpgradeProjects /Project:$(MD_PROJECTS)\EPLAN_Sample_Project.elk