ATTEXTS
- Last UpdatedJul 22, 2025
- 1 minute read
|
Function: |
Allows the user to append text, typically a User Defined Attribute (UDA) and/or other attribute settings, to descriptions in material lists. |
|
Description: |
Standard descriptions in material lists comprise a geometric description (RTEX attribute of DTEXT) and a material description (XTEX attribute of MTEXT). This command allows the user to append further text defined by an expression (typically including settings of UDAs or other attributes) if a predefined selection rule gives a True result. |
|
Examples: |
ATTEX (Flange '+AFTER (NAME,'/')+' at position '+STR (POS)+' has 'STR (NWELDS)+' additional welds') ON all flange with (NWELDS GT 0) If a flange has additional welds, appends the text 'Flange /name at position, position has number additional welds' to the item description in the material list. ATTEX (Colour: ' + :Colour) ON ALL BRANCH MEMBERS Appends the text 'Colour: colour_defined_by_UDA_ :Colour' to the descriptions of all branch members. |
|
Command Syntax: |
>- ATTEXts -+- expression - ON - selection_rule -. | | ‘- NONE -----------------------------+--> where expression defines the text to be appended if selection_rule evaluates to a True result. |