The cable and harness Export Harness Data command provides a neutral XML file format for exporting harness specific data. External applications can use the data to recreate the harness data.
The XML file produced is a readable XML format, which also contains the exact names of Cable and Harness known properties.
For an example file see the Assembly2000.Harness1.xml file in the Example XML File folder. The default locations is:
Microsoft Windows 7 and Windows 8 operating systems:
- Users\Public\Public Documents\Autodesk\Inventor [version]\Tutorial Files\Cable & Harness\Example XML File.
Which elements are contained in the XML file?
Harness Assembly Settings:
- Global slack for wires and cables
Library wires, terminals, labels, seals, looms, plugs, user defined virtual parts, splices, and cables - For used library wires, terminals, labels, seals, looms, plugs, user defined virtual parts, splices, and cables within the assembly
- Wire/cable/terminal/label/seal/loom/plug/user define virtual part/splice library definition name
- All library-level properties
- All library custom properties
- For cables, a list of library wires in the cable
Each wire in a harness assembly:
- Wire name
- The referenced library definition name of the wire.
- The occurrence properties of the wire, including overrides to library-level properties
- The connections of the wire, From/To RefDes and pin name
- Length and adjusted length and small bend radius values
- All virtual parts on the wire along with their custom properties
- All virtual parts on the wire pin along with their custom properties
- All virtual parts on the wire control points along with their custom properties
- The name of all segments through which the wire is routed
Each cable in a harness assembly:
- Cable name
- The referenced library definition name of the cable
- Cable occurrence properties, including overrides to library-level properties
- Cable wire occurrence properties, including overrides to library-level properties
- Cable wire occurrence properties, including overrides to library-level properties
- The custom properties of the wire pin
- All wire control points with the work point names and their custom properties
- Cable wire connections, From/To RefDes and pin name
- Length and adjusted length and small bend radius values for each cable wire
- Each cable wire library definition
- All virtual parts on a cable wire along with their custom properties
- All virtual parts on cable wire pins along with their custom properties
- All virtual parts on cable wire control points along with their custom properties
Each segment in a harness assembly:
- Segment name
- Occurrence properties for the segment
- List of wires and cables in the segment
- Length and adjusted length values
- Diameter
- Appearance
- List of work points on the segment - x, y, z (referenced from global origin)
- All virtual parts on a segment along with their custom properties
- All virtual parts on segment work points along with their custom properties
Library splice:
- List of splice pins
- Pin name
- Embedded length and part number
Each Splice in a harness assembly:
- Splice RefDes
- Splice library definition
- Referenced library pins for the splice and their occurrence properties
- The location of the splice - x, y, z (referenced from global origin)
- Splice pin occurrence-level properties
- Pin x,y,x (referenced from global origin within the harness assembly). These are the endpoints of the wires.
- All virtual parts on a splice along with their custom properties
Library virtual part:
- Virtual part library definition name
- Category
- Part number
Electrical components:
RefDes - For all electrical parts that have wires attached
- Part-level properties
- The electrical component's occurrence properties, including overrides to library-level properties
- The location of the part occurrence in the assembly (referenced from global origin)
Pins (for all pins that have wires attached:
- Pin name.
- Pin x,y,x (referenced from global origin within the harness assembly). These are the endpoints of the wires.
- Part-level properties.
- The occurrence properties of the pin, including overrides to library-level properties.
- All virtual parts on a connector pin along with their custom properties.
Which units are used?
All properties listed in the XML file are in the standard Autodesk Inventor database units for the specific data type.