ExportPartsListFromSystem(String,String,String,String) Method
In This Topic
Exports parts data from the system's parts database.
Syntax
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 a SQL statement. In order to export complete list, use filter equal to "1=1" or call overloaded method without this parameter. To export one part with a specified part number, e.g. A001, set the strSqlFilterPart to "partnr='A001'"
- 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