×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Drafting text attribute code lists
3

Drafting text attribute code lists

Drafting text attribute code lists

(OP)
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

RE: Drafting text attribute code lists

2
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).

RE: Drafting text attribute code lists

(OP)
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

RE: Drafting text attribute code lists

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:
  • Blank Space: <Br>
  • Line Spacing: <Zr>
  • Gap: <Gr>
  • Character Size: <Cr>
  • Font: <Fn>
  • Character Line Width: <Dn>
  • Above Line, Over Line: <A>
  • Underline: <U>
  • Subscript: <L>
  • Inclination (italics): <In>
  • Superscript: <H>
  • Text Continuation: <N>
  • Common Fraction: <Rn!d>
  • Three-Quarter Size Fraction: <Qn!d>
  • Full-Size Fraction: <Vn!d>
  • Two Lines Of Text: <Tr!s>
  • Expression Value: <Xm.n@exp_name>
  • Expression Assignment: <XA@exp_name>
  • Part Attribute: <W&@attr_title>
  • Object Attribute Identifier: <W!obj_id@attr_title>
  • Object Attribute: <W&obj_name@attr_title>
  • Drawing Sheet Attributes: <W@$attr_title>
    • <W@$SH_SHEET_NUMBER>
    • <W@$SH_NUMBER_OF_SHEETS>
    • <W@$SH_SHEET_SCALE_NUMERATOR>
    • <W@$SH_SHEET_SCALE_DENOMINATOR>
    • <W@$SH_SHEET_SIZE>
    • <W@$SH_SHEET_UNITS>
    • <W@$SH_SHEET_PROJECTION_ANGLE>
    • <W@$SH_MASTER_PART_NAME>
    • <W@$SH_PART_NAME>

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources