Cancel
Showing results for 
Search instead for 
Did you mean: 

Expression linked to attribute not updating

Gears Phenom Gears Phenom
Gears Phenom

NX 9 and TC 10

 

I created an Expression in our model seed file, called "Engrave", and it is linked to the attribute DB_Part_Name.  Initially you can create some text, and link that text to "Engrave", and extrude into the part.

 

BUT, when you do a save as, and DB_Part_Name changes, the expression usually won't update, even after doing a 'Force Reload Attributes from Teamcenter'.

 

So what am I missing here?  I was hoping it would automatically update, and save typing it manually.

-Dave
NX 11 | Teamcenter 11 | Windows 8.1
3 REPLIES

Re: Expression linked to attribute not updating

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor
Hi Dave,

To update the expression you need to select "Menu > Tools > Update > Update for External Change".

Regards, Ben

Re: Expression linked to attribute not updating

Siemens Phenom Siemens Phenom
Siemens Phenom

DaveK --

 

Out of curiosity, how are you linking to the Part Attribute?

 

Are you:

 

a) using a DesignLogic function in your expression formula, or did you

 

b) use the interactive tools to create the blue "system" expression linked to the Attribute?

 

Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Tel: +1 (602) 441-0683
taylor.anderson@siemens.com

Re: Expression linked to attribute not updating

Gears Phenom Gears Phenom
Gears Phenom

The only way I knew how, Smiley Happy

 

The attribute "DB_PART_NAME" exists, so in our model seed file, I created the expression "Engrave", which is a string type, and then used the 'Reference part attribute' button, and linked it to DB_PART_NAME.   NX then created a system p# expression, which ties to the part attribute....that is blue, so I'll go with option B. 

-Dave
NX 11 | Teamcenter 11 | Windows 8.1