To Create a Graphical Parts List and Cross-Reference Macro
The graphical parts list macro has information about the part number and symbols. The cross reference macro shows where the part number is used in the project. It contains the device ID as well as a cross reference to indicate the location where the device ID occurs.
- On a blank page, enter the desired text, symbols and dividing lines for the graphical parts macro. You may also wish to draw separate lines for area that will be the cross reference macro.
- In the graphical parts list macro area, use variable names for description, part number, etc. You must include the question mark. The following variables are available:
- Place the schematic symbol that is used to represent the part number.
- Delete the device ID after placing the symbol (in this case, it does not have a function).
In the cross reference macro area, enter the variables for the
cross references. The following variables are available:
- ?devid - Device ID.
- ?inst - Installation.
- ?loc - Location.
- ?inst_loc_devid - Installation - Location -Device ID.
- ?page_inst - Installation in which the component was placed.
- ?cr0 - Cross reference to the position of the symbol in the schematic diagram. For symbols with parent/child relationships, it refers to the parent.
- ?cr1,?cr2,?crx - Cross references of the device child symbols. The order and quantity corresponds to that in the family definition.
- ?ftext0 - Function text of the parent symbol.
- ?fext1-?ftextx - Function text of the child symbols.
- Select Create Macro dialog. to display the
- Enter an appropriate Name for the graphical parts list macro.
- Select a Base Point in the upper left corner of the macro.
- Click the Select Objects button and select only the items to include in the graphical parts list macro.
- Select OK to save the graphical parts list macro.
- To create the cross reference macro, select Create Macro dialog. to display the
- Enter the same Name you used for the graphical parts list macro but add _CR to the end of the name. For example, if you called the graphical parts list macro GRAPH-RELAY you must name the cross reference macro GRAPH-RELAY_CR.
- Select a Base Point in the upper left corner of the cross reference macro.
- Click the Select Objects button and select only the items to include in the cross reference macro.
- Select OK to save the cross reference macro.