![]() |
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. If you assign a certain end style to a connector, for instance, the part placement function will know what kinds of parts are compatible with the end style assigned to that connector and filter accordingly. A piping part is used here as an example. The process is the same for other types of parts too. | |
|
1. |
With the part displayed click the
Build Part button
![]() |
2. | Select the part and click the
Associate Attributes to Connector button
![]() 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 - nominal size and end style have two attributes each 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 EndStyle, while Connector 2 is associated with EndStyle2. You can use the Edit - Properties function to edit the values assigned to these attributes. 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 EndStyle. The window displays all the available end styles 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 EndStyle to EndStyle2, select EndStyle in the second pane and EndStyle2 in the third pane. Click OK when you have finished. |
|
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. | |
|