Guidelines for using configuration files

Configuration (.cfg) files are used for reports and the import and export of wire library data. These .cfg files differ in both format and operation.

How do configuration files for reports and import/export differ?

Where are .cfg files stored?

What are the delimiters used for different locales?

Both the configuration file and the data file used for importing and exporting library data use the delimiter specified in the Windows regional or language settings to separate values. In the United States, the delimiter is usually a comma. For locales other than the United States, the delimiter is often a semi-colon.

The Wire Library and Wire List Import folders in the Tutorial Files\Cable & Harness directory contain both comma delimited and semi-colon delimited files. For example, in the Wire Library folder, the comma delimited file for a cable library is named CableLibrary.cfg, while the semi-colon delimited file is named CableLibrary_semicolon.cfg.

Sample Configuration Files

The easiest way to create a report is to use one of the sample configuration files installed with the application. If the sample file does not meet your needs, use the sample file as a base. Modify and organize the data to include the information you need, and then save the file using a unique name.

All sample report types are set to print as comma-separated files. To view the settings while reading the descriptions, select the required configuration file, and then click each tab.

The following are sample files and their output:

PartsList.cfg

Lists the electrical parts attached by a wire or cable wire in the harness assembly. The format is set to include a placeholder for repeated part names, and to print the column headers and the text displayed in the Info tab.

Part_Splice_Wire_Cable_BOM.cfg

Outputs the quantity of each part type that is attached by a wire or cable wire in the harness assembly. The report also includes a total length calculation for each library wire type used in the harness. The filter is set to exclude objects from the BOM (denoted by a specific property BOM=FALSE name/value pair), and to use the Part Number to total the number of like objects. Although length is required to total the amount of wire in the harness assembly, the column is not printed. The total amount of each wire and cable is included in the Quantity column.

To create a full electrical bill of material (BOM) for a harness assembly, you can use the Report Generator or the Autodesk Inventor bill of material. The Autodesk Inventor parts list includes only the harness assembly, and none of its contents. To include harness parts in a BOM, add them as virtual components in the Cable and Harness assembly.

Note: Virtual parts and ribbon cables are not included in bill of material reports created with the Report Generator. All harness objects, however, are included in bill of materials and parts lists created using standard Autodesk Inventor features.

Wire Run List.cfg

Outputs a from/to list for each wire, including cable wires, in the design. It includes the connection, RefDes, and pin name at both ends of each wire, as well as the length of the wire in the specified units. The table uses several link types to get the RefDes and pin name information for each wire end. The wire lengths include a round-off value that is used before converting the wires to foot units. The format is set to sort multiple columns.

Connector.cfg

Creates one file for each electrical component or splice with a RefDes value and wires or cables wires attached to them in the selected harness assembly. The output file lists the pin name, Wire ID, and wire color. The filter is set to query only the parts with a part number property. The table is set to include, but not print, the RefDes property. The format is set to output a file for each RefDes, and <RefDes>.txt is used as the default output name. If multiple wires or cable wires connect to the same pin, each wire appears on a new line, but the pin name is not repeated.

Segment Table.cfg

Creates a table with information about the physical characteristics of each segment in a harness.