×
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

? in note mapped to attribute ?

? in note mapped to attribute ?

? in note mapped to attribute ?

(OP)
Hi,
When updating our drawing templates , ( Teamcenter managed mode ) i observed that some "notes" on the drawing sheet that are mapped to attributes contain a "?" and some don't.
Lets say that i map a note to display the "CREATED_BY" attribute.
Then the syntax in the note would be <W@CREATED_BY> ( Which works and it updates as soon as the attribute changes.)
But i have a number of notes where the syntax is <W@?CREATED_BY> ( Which also works, but it will not update unless i Save and re-open the drawing file. I have found no way of updating , i.e displaying a new attribute value unless i re-open the part.)

Can anýbody explain why/when this "?" appears in the note, why it is there ? Purpose ? and also why it doesn't update unless i close-reopen.
I have searched the documentation and the web without success.


Thanks
Tomas

RE: ? in note mapped to attribute ?

Dear Toost
Where did you get this "?"? All i did find about this attributes was:

1. Number of the current sheet: W@$SH_SHEET_NUMBER
2. Total number of sheets: W@$SH_NUMBER_OF_SHEETS
3. Numerator of the sheet scale: W@$SH_SHEET_SCALE_NUMERATOR
4. Denominator of the sheet scale: W@$SH_SHEET_SCALE_DENOMINATOR
5. Size of the current sheet: W@$SH_SHEET_SIZE
6. Units of the current sheet: W@$SH_SHEET_UNITS
7. Projection angle of the current sheet: W@$SH_SHEET_PROJECTION_ANGLE
8. Master Model drawing sheet part name: W@$SH_MASTER_PART_NAME
9. Sheet part name: W@$SH_PART_NAME

And i didn't see question mark any where.

RE: ? in note mapped to attribute ?

I've seen this happen when the attribute is not found in the file.

“Know the rules well, so you can break them effectively.”
-Dalai Lama XIV

RE: ? in note mapped to attribute ?

(OP)
Ah, it's that simple!
Thanks!

I have now learnt that if i try map a note to a non-existing attribute,it's not possible if I use the text editor. I can't leave the editor.
But if i do the same in a table, it's fully possible to manually enter the <W@...> but NX adds the "?" as soon as i press enter to leave the cell. The "?" cannot be deleted from the string as long as the attribute doesn't exist.

The workaround is to create the attributes which Teamcenter later will override.
I.e CREATED_BY=- will display "-" until Teamcenter pushes a new value into the file.


Regards,
Tomas

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