Default Values Tab
On the Default Values tab, you can specify a default value for the attribute.
Global attributes can have multiple default values specified. Default values are not required, so an attribute could have no default value specified, or have its default value removed.
To set or change the default values for an attribute:
1. Select Edit from the Actions menu on the node information page to enter edit mode.
2. Enter changes to the attribute default values.
3. Click Save to save your changes and remain in edit mode.
–or–
Click Done to save your changes and return to view mode.
The system validates the default value entries and presents a warning message if invalid or incompatible text is entered. The entries must be fixed before changes can be saved.
Default Values by Data Type
The data type of the attribute determines the style of the entry field for the attribute:
• Boolean—Select Yes, No, or blank (no default value) from the drop-down list.
• Date & Time—Enter a date in the format YYYY-MM-DD, or click the calendar icon
to select a date from the calendar.
• String—Enter a default value in the text entry field.
• Integer Number—Enter a default integer value. Characters allowed are:
◦ numbers
◦ thousand separator— by locale; in English, a comma (,)
◦ decimal separator— by locale; in English, a period (. )
◦ negative character—by locale, in English, a minus sign ( - )
• Real Number—Enter a real number default value. Characters allowed are:
◦ numbers
◦ thousand separator— by locale; in English, a comma (,)
◦ decimal separator— by locale; in English, a period (. )
◦ exponent character—by locale, in English, a capital E
◦ negative character—by locale, in English, a minus sign ( - )
• Real Number with Units—Enter a real number default value. Characters allowed are the same as the Real Number data type, with the addition of units. The valid units are dependent on the Quantity of Measure for the attribute, and are displayed next to the text entry field.
| If you enter a value in compatible units, Windchill automatically converts the value when you save. For example, if the attribute unit is kg and you enter 1000 mg; Windchill automatically converts the value to 0.001 when you save. If you enter a value in incompatible or invalid units, a warning message is presented. The entry must be correct before you can save. |
Multiple Default Values on Global Attributes
Global attributes support multiple default values.
| If a Single-Valued constraint is applied to a global attribute, only one default value can be specified. |
To enter a default value for a global attribute:
• Enter or select the default value for the attribute data type, then click the add default icon
.
The default value is added to the table below the entry field. Repeat to add additional default values.
To delete a default value entry from the table:
• Select the entry, then click the delete icon
.
The default value is removed.
| There is no sorting or reordering of multiple default value entries. Entries cannot be edited directly, only deleted and reentered. |
Default Value Inheritance
On child nodes, default values can be inherited from a parent node, determined by the following selection:
• Use inherited values—select this option to use the default value inherited from the parent node. The inherited value is displayed, grayed-out, in the text field.
• Add new values—select this option to specify a unique default value or values for this attribute. To revert to the inherited value, if any, select the Use inherited value option.