Parameter |
Description |
TYPE |
Type of task to be carried out: |
PROJECTNAME |
Project name with complete file path (optional). |
IMPORTFILE |
The directory and the name of the file to be imported must be specified here. Applies only for IMPORT. |
EXPORTFILE |
The directory and the name of the file to be exported must be specified here. The system adds a file name extension automatically. Applies only to EXPORT. |
FORMAT |
Optional: File formats for the import
Default value:
File format for importing into the parts management (IMPORTTOSYSTEM):
Default value:
File format for exporting from the parts management (EXPORTFROMSYSTEM):
Default value: |
SQLFILTERPART |
Optional: SQL filter for advanced users. |
SQLFILTERADDRESS |
Optional: SQL filter for advanced users (is used with the format "IXPamImportCSVAddresses"). Is used for the export of addresses. |
SQLFILTERCONSTRUCTION |
Optional: SQL filter for advanced users. Is used for the export of drilling patterns. Default value: |
SQLFILTERTERMINAL |
Optional: SQL filter for advanced users. Is used for the export of connection point patterns. Default value: |
SQLFILTERACCESSORYLIST |
Optional: SQL filter for advanced users. Is used for the export of accessory lists. Default value: |
SQLFILTERACCESSORYPLACEMENT |
Optional: SQL filter for advanced users. Is used for the export of accessory placements. Default value: |
CFGFILE |
Optional: Directory and file name of the configuration file. |
FIELDASSIGNMENTSCHEME |
Optional: Name of the scheme of the field assignment for importing parts. |
MODE |
Optional: Import mode. Supported modes are:
|
ADDITIONAL_LANGUAGE |
Optional. Only applies if TYPE = IMPORTTOSYSTEM. If the value of this parameter is 1, the multilingual properties will be updated with other language values. If the parameter is left out, the file content will replace the values of multilingual properties. |
CONFIGSCHEME |
Configuration scheme for the deletion of saved properties (optional). |
Note:
If the action partslist is to enable the complete export of all record types from parts management (TYPE=EXPORTFROMSYSTEM), the parameters SQLFILTERCONSTRUCTION, SQLFILTERTERMINAL, SQLFILTERACCESSORYLIST, and SQLFILTERACCESSORYPLACEMENT must be transferred with the value 1=1 in addition to the parameters SQLFILTERPART and SQLFILTERADDRESS.
Export:
partslist /TYPE:EXPORT /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /FORMAT:XPalCSVConverter /EXPORTFILE:d:\temp\PartsList.csv
Import:
partslist /TYPE:IMPORT /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /FORMAT:XPalCSVConverter /IMPORTFILE:d:\temp\PartsList.csv
Delete saved properties from the project:
partslist /TYPE:DELETESTOREDPROPERTIES /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /CONFIGSCHEME:config_scheme