ExportPartsListFromSystem(String,String,String,String,String,String,String,String,String) Method
In This Topic
Exports parts and other parts management items like addresses, constructions, terminals, accessory lists and accessory placements from the system's parts database.
Syntax
public void ExportPartsListFromSystem(
string ,
string ,
string ,
string ,
string ,
string ,
string ,
string ,
string
)
public:
void ExportPartsListFromSystem(
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^
)
Parameters
- strFilePath
- Full output file name.
- strConverter
- Converter long name, e.g: 'XPamExportXml'. See Eplan::EplApi::ApplicationFramework: and Eplan::EplApi::ApplicationFramework: namespace.
- strSqlFilterPart
- Sql filter for advanced users. With this filter the exported parts can be reduced with an SQL statement. In order to export complete list, use string "1=1" To export one part with a specified part number, e.g. "A001", use string "partnr='A001'" In order to skip this data in the output, use "1=0" string.
- strSqlFilterAddress
- Sql filter for addresses. With this filter the exported data can be reduced by providing an SQL statement. In order to export complete data, use string "1=1" or call overloaded method without this parameter. In order to skip this data in the output, use "1=0" string.
- strSqlFilterConstruction
- Sql filter for constructions. With this filter the exported data can be reduced by providing an SQL statement. In order to export complete data, use string "1=1". In order to skip this data in the output, use "1=0" string.
- strSqlFilterTerminal
- Sql filter for terminals. With this filter the exported data can be reduced by providing an SQL statement. In order to export complete data, use string "1=1". In order to skip this data in the output, use "1=0" string.
- strSqlFilterAccessoryList
- Sql filter for accessory lists. With this filter the exported data can be reduced by providing an SQL statement. In order to export complete data, use string "1=1". In order to skip this data in the output, use "1=0" string.
- strSqlFilterAccessoryPlacement
- Sql filter for accessory placements. With this filter the exported data can be reduced by providing an SQL statement. In order to export complete data, use string "1=1". In order to skip this data in the output, use "1=0" string.
- strCfgFilePath
- Full file name of the configuration file. Details about configuration file structure are described in "Parts Management: Configuration Files for the Import and Export of Data" chapter of P8 Help.
Exceptions
Exception | Description |
ArgumentException | Thrown in case of
invalid parameters. |
BaseException | An error occurred while
exporting parts data. |
See Also