Generating XML for Creo Illustrate
You can generate an XML version of your parts list that contains information about the Parts List items. The XML file includes an entry for each part in the parts list, plus the attributes that confirm whether a part is illustrated and define its callout.
The XML version of the Parts List is no longer required by Creo Illustrate to generate callouts for an illustration. The New Illustration process will generate the callouts automatically.
Use the following steps to export a parts list to an XML file:
1. Select a checked in Parts List object in the folder view.
* 
The Parts List must have at least one item in the list and the Parts List must be checked in.
2. In the Actions menu on the Parts List Information page, select Export Parts List to XML
3. Your browser presents a Save/Open dialog. Choose whether to open the file or save it to a specific location.
* 
It is recommended that you do not edit the XML file directly. If you need to update the parts list, make the changes in Windchill Service Parts then re-export the XML file.
Filtering the Parts List
You can define filters to specify which objects are included in the XML output. You can filter the display of items in the parts list on applicability based on service effectivity and basic/advanced expressions (ATO). Refer to Filtering the Display of Parts for further information.
Stylesheet for Transformation to XML
The transformation is based on a sample XSLT stylesheet that transforms the parts list’s XML markup into representative Creo Illustrate sBOM XML markup. You need to modify the stylesheet to ensure that all required name and number attributes for parts are mapped to the corresponding properties in the imported 3D geometry file. Refer to the comments in the sample stylesheet partslist2sbom.xsl for guidance, as well the documentation for the Creo Illustrate sBOM XML File.
Refer to Defining Custom Locations for Configuration Files for the location of the stylesheet, and information on providing a non-default directory location.
Было ли это полезно?