String expression won't update
String expression won't update
(OP)
In NX7.5 Modeling, I am using text features to create some part identifications for engraving on my part.
In the Text Feature, I'm using the reference text option to pull text from a string-typed expression. The expression is series=ug_askPartAttrValue("SERIES"), and there is a part attribute that stores the series string. My thinking was that I could change the attribute in several parts, then update them and the features would update.
The problem is that I cannot get the string expression to update after I change the attribute.
I've been able to force it to work by opening the part and editing the string expression (without changing it), then editing the text feature (with no changes) and letting the part update from there. This is just as manual as changing the feature text in every feature of every part.
Is there a way to force the expressions to update?
In the Text Feature, I'm using the reference text option to pull text from a string-typed expression. The expression is series=ug_askPartAttrValue("SERIES"), and there is a part attribute that stores the series string. My thinking was that I could change the attribute in several parts, then update them and the features would update.
The problem is that I cannot get the string expression to update after I change the attribute.
I've been able to force it to work by opening the part and editing the string expression (without changing it), then editing the text feature (with no changes) and letting the part update from there. This is just as manual as changing the feature text in every feature of every part.
Is there a way to force the expressions to update?





RE: String expression won't update
RE: String expression won't update
I'm a little closer now. I didn't realize that I couldn't edit attributes directly from an assembly, after selecting several parts and changing the attribute, I still had to go through each part, make it the work part, open properties->attributes, find the attribute, and select "apply to work part". What a pain! Isn't there an easier way?
RE: String expression won't update
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.