This task shows you how to associate attributes to a connector. NOTE: This task was formerly called Associate Specifications to a Connector. | ||
"Associating attributes" means assigning specific attributes to connectors. If a value has been assigned to the attribute then it is also associated with the connector. When you build a part, it inherits all the attributes that you have assigned to the sub-class to which it belongs (this is done in the Feature Dictionary). Values are assigned to these attributes using the Edit - Properties function. Now you need to associate some of these attributes to connectors, to help in the designing process. | ||
|
1. |
With the part displayed click on the Build Part button . The Create Part dialog box displays. |
2. | Select the part and click the
Associate Attributes to Connectors button
. The
Associate Attributes to Connectors dialog box displays.
ATTRIBUTES: This section of the box displays all the attributes entered in the Connector Attributes file (see below). You will need to decide which ones you want to associate to specific connectors. The drop down arrow allows you to select how many of each attribute you want to be available to you - leg length has two attributes in this example. Click the down arrow and make your selection. Click Assign when you have finished. The second pane displays the connectors on your part and the attributes associated with them. In the example above, for instance, Connector 1 is associated with LegLength1, while Connector 2 is associated with LegLength2. The third pane will display how many of each type of attribute are associated with the part, and the values, if any, assigned to them. You can also use it to change the attribute assigned to each connector. To display the attributes, select one of the attributes in the second pane, say LegLength. The window displays all the available leg lengths on the part and their values. To change the attribute associated with a connector: Click on the attribute beneath the connector in the second pane. Then, in the third pane, select the attribute you want to replace it with. In the example above, for Connector 1, if you want to change LegLength1 to LegLength2, select LegLength1 in the second pane and LegLength2 in the third pane. Click OK when you have finished. |
|
3. |
CONNECTOR ATTRIBUTES FILE The Connector Attributes file
controls the attributes that are displayed in the Associate Attributes
to Connectors dialog box. A part may have dozens or even
hundreds of attributes associated with it. Since only some of these need to
be associated with connectors, the Connector Attributes file gives you a
way of controlling the number. There are sample ConnectorAttributes.txt
files for each application, located in the directory ...intel_a\startup\EquipmentAndSystems\XXX\ Sample files for Equipment Arrangement are located a little differently:
...intel_a\startup\EquipmentAndSystems\Equipment\XXX\ If you want to display more or different attributes in the Associate Attributes to Connectors dialog box then make appropriate changes in the ConnectorAttributes.txt file using a text editor like WordPad. The location of the Connector Attributes file must be correctly referenced in the project resource management file. |
|
You must save the CATPart file to the directory in which you store the parts that you create. | ||
|