Creating a Convention
Description
To create a new convention in the Model Tree:
Select the position in a Declaration Section where the new convention should be inserted
From the Edit menu select Insert – Other (or press the
<Insert>key)In the dialog box select
Convention and press OKEnter a name for the new convention
Press
<Enter>to create the new (or press<Esc>to abort the operation)
The newly created convention is now ready for use, but you probably want to specify some additional attributes. To modify the attributes of the newly created convention:
Press
<Enter>or double click on the convention.
The most commonly used attributes of a convention are discussed below.
PER QUANTITY: ThePER QUANTITYattribute should be used to override the unit of all identifiers that express a value of a particular quantity. For example, if thePER QUANTITYattribute contains a lineSI_LENGTH : inch, all identifiers that are expressing a length (and were expressed in terms of[m],[cm],[mile], etc.), will be expressed in[inch].PER UNIT: ThePER UNITattribute should be used to override the unit of all identifiers that share a particularUNITattribute. For example, if thePER UNITattribute contains a linem : cm, all identifiers that are originally measured in[m]will be expressed in[cm], and all identifiers that are originally measured in[m/s]are expressed in[cm/s]etc.PER IDENTIFIER: ThePER IDENTIFIERattribute should be used to override the unit of a particular identifier. By applying the convention. For example, if thePER IDENTIFIERattribute contains a lineSize : m, the identifierSizewill be expressed in terms of[m](assumed that its originalUNITattribute was commensurate with[m]).
How to …
Learn more about