Bracket type macro
The type macro controls the interaction with the user. It defines the type of the part that the user must select to create the bracket (hull line, plate, flange or profile in section, plate or profile in plan view), and contains the hints that the system gives to the user in the part selection process. Only the part types that have been defined in the type macro can be selected.
The questions that may be asked regard the dimensions, the thickness, the radius of a corner hole, a bevel, and an overlap if any. Any default answers, and the conditions the bracket's dimensions must meet, should also be set in the type macro.
The information concerning flanges, face plates or profiles, and the bracket's dimension text type, are also defined in the type macro.
Labels
A type macro consists of ten labels. Each label represents a specific task.
Important: All labels must be included in the macro, even if the label is not required because its task is not used. If, for example, label 6 is not used, the type macro should nevertheless contain the following lines:LABEL 6
exit
LABEL 1
Sets the type number of the bracket, and the type of relations that should be selected to create the bracket. The number of relations of the bracket is specified here and also the hints to be given to make selecting easier.
LABEL 2
Specifies the questions that are included in the main panel and, if necessary, settings are given that are required for the proper layout of the creation panel.
LABEL 3
Specifies the default values that are presented as the answers to the questions in the creation panel. In some cases, this is done in conjunction with label 4.
LABEL 4
Used to set the default values for a standard defined in label 3.
LABEL 5
Label 5 is the central label. Here, calculations are executed and the data gathered about the bracket are converted to a format that may be used as input for the construct program.
LABEL 6
Ensures that the proper values, in the case of free brackets the creation values, are displayed in the creation/modification panel when the user wants to modify the bracket.
LABEL 7
Used to create the icon.
LABEL 8
Used for setting the bracket's dimension text format.
LABEL 9
Specifies the description of the bracket that will be sent to the database.
LABEL 10
Only required if corner holes or bevels need to be defined.