×
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

Reformatting an internal attribute in NX 10

Reformatting an internal attribute in NX 10

Reformatting an internal attribute in NX 10

(OP)
Within a model you have this attribute W@$SH_PART_NAME which is the filename of your part. For me, this filename starts with 8 alphanumeric characters followed by some dash numbers like 123A1234-01. The first 8 characters are also our document number in PLM. What I am trying to do is create a new attribute that is able to automatically capture the first 8 characters of the filename (part name). First problem. When I create this attribute in the file or template, I list <W@$SH_PART_NAME> as the string. When I use this, in a PMI note for example, it actually spells out <W@$SH_PART_NAME> instead of resolving to the filename. 2nd problem, if you can help me resolve the first problem, is there a way to truncate the remaining characters in the name so that only the first 8 are captured and used? Thinking something along the lines of how in a drafting dimension you can use an expression in a note or appended in the format <X0.0@p0) where the X0.0 is the decimal precision to display the expression p0.

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