Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Drafting text attribute code lists 3

Status
Not open for further replies.

mrodgers

Mechanical
May 13, 2011
2
0
0
US
I've been working on some customizing some design notes for my engineers to follow when layout out new prints but I'm running into problems editing the text style. Ideally, my commented text would be smaller, italic, and a different color than the example text. I've figured out how to do the first two but not the third. Does anyone know how to do this or where I can find a list of built-in NX text codes?

Sample <-- text would be 1 unit tall and standard
<C0.5><I20>Sample<C><I> <-- text would be 0.5 units tall and italicized
 
Replies continue below

Recommended for you

Search on the term "text control characters" in the drafting help file. This will list the built in 'text codes', however there isn't one to control the color of the text.

If you want your 'help' text to be a different color, put it in a separate note and change the color manually (edit -> object display).
 
Thanks. I wasn't able to find the list. It looks like the <K> command will let me control color.

Color
<Kn>

Annotation color is based on the color of the object . However color for text in a line may be controlled using the <Kn> control character, where "n" represents the color ID number. The color ID number for your NX session can be found by opening any color palette and noting the ID number for the color . The actual color displayed may vary depending on your background settings.

Appreciate the help
 
Great! It works in NX6, but I can't find it anywhere in the help docs.

Here are the tags listed in the help file I referenced in my first post:[ul]
[li]Blank Space: <Br>[/li]
[li]Line Spacing: <Zr>[/li]
[li]Gap: <Gr>[/li]
[li]Character Size: <Cr>[/li]
[li]Font: <Fn>[/li]
[li]Character Line Width: <Dn>[/li]
[li]Above Line, Over Line: <A>[/li]
[li]Underline: <U>[/li]
[li]Subscript: <L>[/li]
[li]Inclination (italics): <In>[/li]
[li]Superscript: <H>[/li]
[li]Text Continuation: <N>[/li]
[li]Common Fraction: <Rn!d>[/li]
[li]Three-Quarter Size Fraction: <Qn!d>[/li]
[li]Full-Size Fraction: <Vn!d>[/li]
[li]Two Lines Of Text: <Tr!s>[/li]
[li]Expression Value: <Xm.n@exp_name>[/li]
[li]Expression Assignment: <XA@exp_name>[/li]
[li]Part Attribute: <W&@attr_title>[/li]
[li]Object Attribute Identifier: <W!obj_id@attr_title>[/li]
[li]Object Attribute: <W&obj_name@attr_title>[/li]
[li]Drawing Sheet Attributes: <W@$attr_title>[/li]
[ul]
[li] <W@$SH_SHEET_NUMBER> [/li]
[li]<W@$SH_NUMBER_OF_SHEETS>[/li]
[li]<W@$SH_SHEET_SCALE_NUMERATOR>[/li]
[li]<W@$SH_SHEET_SCALE_DENOMINATOR>[/li]
[li]<W@$SH_SHEET_SIZE>[/li]
[li]<W@$SH_SHEET_UNITS>[/li]
[li]<W@$SH_SHEET_PROJECTION_ANGLE>[/li]
[li]<W@$SH_MASTER_PART_NAME>[/li]
[li]<W@$SH_PART_NAME>[/li]
[/ul]
[/ul]
 
Status
Not open for further replies.
Back
Top