Create expression that inherits an attribute value
Create expression that inherits an attribute value
(OP)
I did a lot of this in NX9 for automating some BOM tasks.
But the expression dialogue in NX11 seems to have taken away some of that functionality.
Sometimes the Attribute was driven by the Expression value (Which I can still do)
Sometimes the Expression was driven by the Attribute value (Cant find the tools anymore)
TIA for any help
But the expression dialogue in NX11 seems to have taken away some of that functionality.
Sometimes the Attribute was driven by the Expression value (Which I can still do)
Sometimes the Expression was driven by the Attribute value (Cant find the tools anymore)
TIA for any help
Dave
Automotive Tooling / Aircraft Tooling / Ground Support Structures
NX9, Win 7 Pro SP1





RE: Create expression that inherits an attribute value
I've not used it much, yet; but so far, I'm not a big fan of the new expression dialog format.
www.nxjournaling.com
RE: Create expression that inherits an attribute value
With expression Type String selected. The formula would be ug_askPartAttrValue( "MM_PART_NUMBER" )
RE: Create expression that inherits an attribute value
www.nxjournaling.com
RE: Create expression that inherits an attribute value
I've been noodling around with it.
It looks as if the only way to get the flow to be "Attribute to Expression" is to create an Attribute that references the Attribute you want to link too... then an expression is automatically created to the new attribute.
Then if you delete the one you originally referenced and rename the new one... you've got what you want.
Seems crazy... or maybe I'm just running around the block before I cross the street.
Dave
Automotive Tooling / Aircraft Tooling / Ground Support Structures
NX9, Win 7 Pro SP1
RE: Create expression that inherits an attribute value
NX10.0.0.24 MP1/Windows 7 Service Pack 1
RE: Create expression that inherits an attribute value
i noticed this as well. its deff forcing us to create two expressions to be able to use just one of them. Unless i'm doing something wrong... i tried to reference mass into an attribute and it always creates two entries to do this. Seems really strange, why not just one? seems like a circular reference at worst and an unnecessary complexity at best.
Surely i'm doing something wrong, i'm just a plebian!
RE: Create expression that inherits an attribute value
NX8.5 - NX9 - NX 10 - NX11
RE: Create expression that inherits an attribute value
Attribute expressions and interpart expressions are now blue system expressions (like measurement expressions) and their formulas are locked (read-only, in essence.) And so, if you've already created an expression name, then we want to preserve the name you created, AND leave the formula in a state where you can continue to edit it. And so we'll create a new blue system expression in that case in addition to YOUR expression that you're creating.
Here's a little trick... If you create an interpart expression or attribute expression WITHOUT assigning a name first, then there won't be a second expression. We'll just create the blue system expression, and you can start using it.
A bit subtle, perhaps, but that's the way to always avoid the second expression, if that's what you're after.
Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)