The Compartment Custom Attribute sheet in the CompartGenericServices.xls workbook defines custom attributes for compartmentation. You use this information when running the Update Attributes command in the Compartmentation task.
This topic describes the Head/Start/End section of the sheet. For information about the Definition section, see the Smart 3D Reference Data Help, available from the Help > Printable Guides command.
Name
Specifies a name for the custom attribute. This name is solely for bulkloading purposes and does not appear on the user interface of the software.
Attribute Name
Specifies a descriptive name for the attribute. This name is more user-friendly and can have spaces; this name appears on the Catalog task user interface.
Rule Name
Specifies the rule associated with the attribute. This field is optional and can be left blank.
Order
Allows you to use the previously calculated attribute values as a reference to process the next set of attributes.
Custom Class
Specifies the name of the class associated with the attribute. This class is listed on the Custom Class Interface List sheet in this workbook.
Virtual Interface
Specifies the name of the interface associated with the attribute. This interface is listed on the Custom Class Interface List sheet in this workbook.
Custom Program
Provides the name of a Visual Basic project and class that is used to calculate the attribute. The Visual Basic source code for these rules is delivered in [Programming Resources Folder]\Programming\ExampleCode\Compartmentation\Rules\Compartment\CustomCompute (CompartSemantics) and [Programming Resources Folder]\Programming\ExampleCode\Compartmentation\Rules\Region\CustomCompute (RegionSemantics).
Semantic Control
Controls when the custom code for the attribute is run.
-
1 = Run during compute (for example, modification of object)
-
2 = Run during commit (for example, creation of object)
-
4 = Run by user request (Update Attributes command in software)