Symbolica How to generate a lowercase annotation of a part attribute

2021-10-06T23:27:20Z
Symbolica

Summary


Details

It might happen that the customer needs to insert a drafting note derived from a string attribute with all lowercase characters, currently there is no option within the annotation editor to force lower (or upper) case for a note linked to a part attribute (that attribute string could be uppercase or with mixed upper/lower).



Solution

This can be achieved manually by creating an additional expression in the Expressions editor (Ctrl+E), the built-in StringLower() function will generate a lowercase string expression associated to the source attribute.

Let us suppose there is a part with a string attribute NOTE that we want to render to lowercase in a drawing (being the part the 3D master model).


Launch the Expressions editor (Ctrl+E), name the expression (e.g. NOTE_LOWER) then RMB in the Formula field > Edit, hit Reference Part Attribute and then select the source attribute (NOTE in this example), then hit OK and in the Formula field enclose the p# expression within round brackets as argument of the StringLower built-in function, hit OK one more to get this (the additional  expression has been automatically created by NX to create a bridge to the source attribute).

Now you can create your drawing sheet and add an annotation associated to this NOTE_LOWER expression (Category Relationships, Insert Expression, Link to Part, select the part with the emebedded expression, Ok, select the NOTE_LOWER expression, OK, you can remove the 0.2 formatting options and leave only X@NOTE_LOWER).


Some other built-in fuctions are available in the Expressions editor to manipulate strings, for instance subString to truncate/extract part of a string.

Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: DESIGN
Function: EXPRESSION

Ref: 002-8013899

KB Article ID# PL8013899

Contents

SummaryDetails

Associated Components

Symbolica