Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations The Obturator on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

? in note mapped to attribute ? 1

Status
Not open for further replies.

Toost

Mechanical
Jan 18, 2011
2,963
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
 
Replies continue below

Recommended for you

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.
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor