Autonaming Rule | Enter a rule to use when generating the name for a classified object. | ||
Rule Measurement System | Select the measurement system to use when converting attribute values when generating the classified part name. This property applies if your rule includes a Real Number with Units attribute value.
| ||
Enforce Autonaming Rule | You can use this field to enable or disable the autonaming rule. |
Autonaming rules are not enforced when more than one node is selected per object. |
CSM_NODE_NAME | This represents the node name on which the rule is added. When the name is generated, this element is replaced with the display name of the node. | ||
<attribute> | Specify the internal name of an attribute. The attribute value is displayed when the object name is generated. You can use any attribute defined for the node under the Attributes tab.
| ||
"<string>" | Enter a string to include in the object name. The string must be enclosed in double quotes.
| ||
(<attribute><function>) | If the attribute is an Integer Number or Real Number, you can specify a mathematical function. The attribute name and equation must be enclosed within parentheses. For more information on how mathematical functions can be used, see Calculated Attribute Formulas. |
• Once created, the generated name is not dynamic. If the user later edits the object to change the value of the attribute, the object name is not updated. If the autonaming rule is modified for the node, existing object names are not updated to match. • Strings, including the node name and attribute values, are displayed in the server locale. If Windchill Service Information Manager is installed, the string is displayed in the authoring language specified. If no authoring language is specified, the value of the com.ptc.core.td.localeForNullAuthoringLanguage property is used. If this property is not specified, the master text is used. |
Internal Name | Data Type | Default Value |
Pin_Count | Integer Number | 5 |
Diameter | Real Number with Units | 1.905 |
Finish_Type | String | Bronze |
Serrated | Boolean | Non-Serrated |
User_String | String |
Autonaming Rule | Generated Name |
CSM_NODE_NAME + Diameter + Finish_Type + Pin_Count + Serrated | Key Plug1.905 cmBronze5Non-Serrated |
CSM_NODE_NAME + “: ” + Diameter + “_” + User_String | Key Plug: 1.905 cm_lock1X |
Diameter + “ - CYLINDER - ” + Finish_Type + “ ” + CSM_NODE_NAME | 1.905 cm – CYLINDER – Bronze Key Plug |
"\"" + User_String + "\"" + (Pin_Count * 5) | “lock1X”25 |
When editing an object, the updated attribute value is displayed: If you override the existing name by entering the generated name in the Name field, the object name is updated upon checkin. |