Action class to export and import subprojects.
Parameter | Description |
---|---|
TYPE |
Type of task to be performed: FILEOFF: Export Subproject action. STORE: Import Subproject action. |
PROJECTNAME |
Project name with full path (optional). If not entered, the selected project is used when the action is called from GUI (like from a script or ribbon bar). If called from the windows command line, PROJECTNAME must be set. Project has to be opened in exclusive mode. After calling this method source project object becomes invalid (in FILEOFF type). |
DESTINATIONPATH |
Target directory (optional). Default value is $(MD_PROJECTS). Only used by FILEOFF type. |
SPNR |
Subproject number. |
EXTENDONLY |
Extend subproject only (optional). Default value is false. Only used by FILEOFF type. |
SUBPROJECTDIR |
Directory where subproject is placed (optional). Default value is taken from alias. Only used by STORE type. |