×
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

Part Number as Expression

Part Number as Expression

Part Number as Expression

(OP)
I'm working with native NX7.5. I'm trying to emboss the part name in my design and I want this to update automatically. I'm using Insert>Curve>Text, checked the "reference text" box and selected my string expression. Now I just need my string expression (titled "for_text") to get the part name or number.

I've tried all the following formulas for my string expression
Descriptive_Part_Name
DB_PART_NO
OS_PART_NAME
<DB_PART_NO>
<OS_PART_NAME>
stringValue(<DB_PART_NO>)
stringValue(<W@$SH_PART_NAME>) - I noticed my drawing is using this to call up the part name
<<W@$SH_PART_NAME>

and a bunch of others. I give up. Help.

RE: Part Number as Expression

For NX.75 use the ug_askPartAttrValue("DB_PART_NO") function mind you this will not be 100% associative as it will only updated on explicitly with the "update for. external exchange" command. the attribute system was reoworked for the NX 8.5 release, it now provides full associativity and makes it much easier to do these kind of operations.

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