Attributes
Use the Attributes option to view, add, modify, and delete attributes of triangulations. Each attribute includes a data type, name, and value. Data types include Boolean, double, integer, string, and date.
- Boolean - Valid values are "True/False", "Yes/No", "1/0", "T(t)/F(f)", and "Y(y)/N(n)"
- Double - A real number including decimals that indicates the floating point (double-precision, can be up to eight bytes)
- Integer - Positive or negative integer (whole number)
- String - Text string
- Date - Date in
yyyy/mm/dd
format (unless specified otherwise by your date display preferences in the Preferences > Miscellaneous section)
You can also use Perl scripts to edit triangulation attributes outside of Vulcan. For more information on this, see the File > Lava > Classes > Vulcan Classes topic.
Instructions
On the Model menu, point to Triangle Attributes, and then click Attributes (or right-click on the triangulation), to display the Attributes panel.
To Add an attribute:
-
Select the appropriate data type from the Data Type drop-down list.
-
Enter the name of the attribute in the Name box.
-
Enter the value of the attribute in the Value box.
-
Click Add.
To Modify an attribute:
-
Click on the attribute in the list.
-
Make the change to the attribute in the list in one of two ways:
-
Change the name or value of the attribute directly in the list, such as changing the name of an attribute or string text, selecting or clearing the check box for a Boolean value, or modifying a date.
-
Change the data type, name, or value in the Attribute Details section.
-
-
Click Modify.
To Delete an attribute:
-
To delete a single attribute, click on the attribute in the list and click Delete.
-
To delete all attributes, click Clear All and confirm by clicking Yes on the message that displays.
Click OK to save the changes to the attributes.
Results:
The attributes you have specified are stored in the triangulation. If the triangulation is copied to a new triangulation, the attributes will also be copied and carried over with the new triangulation.
Following is an example of a completed Attributes panel. The attributes used in this example are:
Data Type | Name | Value |
---|---|---|
Boolean | Required | Yes |
Integer | Level | 2 |
Date | Modified | 2012/09/24 |
String | Comments | New triangulation |