...
Export an edmModel or parts of an edmModel to an Xml-formatted file on the file system. This function has an insufficient parameter list. Use the improved xpxWriteXMLFileEx instead. xpxWriteXMLFile has been kept for compatibility reasons.
Arguments
...
1 | Type | Name | Comment |
2 | STRING | repositoryName | The name of the data repository that contains the model to make a XML representation of. Repository names are case sensitive. |
3 | STRING | modelName | The name of the data model from which data is to be exported to the specified XML File. Model names are case sensitive. |
4 | GENERIC | data | |
5 | STRING | headerRepositoryName | The name of the data repository that contains the XML header model. Repository names are case sensitive. If this parameter is NULL or an empty string, <headerRepositoryName> will be set equal to <repositoryName> |
6 | STRING | headerModelName | Specifies the name of the XML Header Model that will be exported to the Header Section in the resulting XML file. XML Header Model names are case sensitive. The specified XML Header Model must be located in the repository specified by the parameter <headerRepositoryName>. |
7 | STRING | xmlConfigName | The name of the XML configuration. NULL means no configuration. |
8 | STRING | xmlFile | The name of the XML file to be generated. |
9 | STRING | diagnosticFile | Specifies the file name for diagnostic information generated by this function. If no file name is supplied, i.e. the <diagnosticFileName> argument is set to NULL or an empty string, all diagnostic information will be written to the EDMinterface current output device. |
10 | INTEGER | options | A bitwise OR between the options described below. |
11 | INTEGER | numberOfWarnings | the number of warnings generated by EDM when the model was exported. |
12 | INTEGER | numberOfErrors | the number of errors encountered when the model was exported. |
13 | INTEGER | sdaiError | any EDMinterface error code returned from the EDMserver. |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Option | Comment |
---|---|
INCLUDE_HEADER | Include header element when writing ISO_10303_28 document |
INCLUDE_CONFIGURATION | Include configuration element when writing ISO_10303_28 document |
INCLUDE_SCHEMA | Include schema elements when writing ISO_10303_28 document |
EXTRACT_SHALLOW | Use this option to prevent referenced instances to be exported. By default EDM will export all the instances given in data and the entire mesh of referenced instances that spreads out from them. |
EDM_IDENTIFIERS | Use the full internal instanceIds of EDM as step Ids in the exported XML file. By default, the step Ids are the local references from within each model. |
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
...