On starting the Create UDC command, the Property Class dialog box appears.
1 | Type the name of the class in the Name: box, using the following conventions:
|
|
2 | Select the class type in the Type: drop-down list box:
|
|
3 | Describe the class in the Description: box, if required. |
|
4 | Define the assignability of the property by selecting the check box in the Assignable to: row:
|
|
5 | Define the class protection by selecting the corresponding check boxes in the Class protection: row:
|
|
6 | Define the property protection by selecting the corresponding check boxes in the Property protection: row:
|
If the class is character string (Character):
7 | Type the maximum number of characters for the class property strings in the Max: box. |
|
8 | Select the format of the characters in the Case: drop-down list box:
|
|
9 | To eliminate the spaces at the start and the end of the class property strings, select the Delete blanks check box. |
|
10 | To limit the type of characters permitted in the class property strings, select the corresponding option in the Allowed: list box:
|
|
11 | To create the class, click on Insert. |
|
12 | The dialog box remains on screen so that another class can be created. To close it, click on Close. |
If the class is integer (Integer) or real ( Real):
13 | Type the number of class property elements in the Max: box: 0=1=scalar, n>1 to define vectors of n elements. |
|
14 | Type the minimum and maximum permitted values in the Min value: and Max value: boxes. |
|
15 | To create the class, click on Insert. |
|
16 | The dialog box remains on screen so that another class can be created. To close it, click on Close. |