ExportPartsList(String,String,Format) Method
In This Topic
Method to export the parts list of a project to an XML/CSV \file.
Syntax
Parameters
- strFullLinkFileName
- Full link file name of the project of which the parts list will be exported.
- strExportFilePath
- Path and file name of the export file. The extension is added automatically.
- fileFormat
- Parameter for setting the predefined export formats XML and CSV. The enumeration PartsService.Format defines the necessary values. If an invalid value is set, the file will be exported as XML.
Exceptions
Exception | Description |
ArgumentException | Thrown in
case of
invalid
\arguments. |
BaseException | Thrown if
an error
occurred
during
export. |
ApplicationException | \Internal
action for
exporting
the parts
list was
not found.
(Missing
rights?). |
\Exceptions\:\:InvalidConverter | Thrown
when given
parameter
fileFormat
isn't
valid
converter
or such
conversion
doesn't
exist at
all. |
See Also