Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

NX Attribute Driving another Attribute

Status
Not open for further replies.

Goddard1967

Mechanical
Joined
Mar 5, 2015
Messages
5
Location
US
Hello fellow NXers,

I am trying to do this. I have an attribute called NX_MATERIAL. I want the default Material attribute to drive its answer into the answer for NX_MATERIAL. In other CAD packages I can just say this attribute is equal to that one. NX doesn't seem to work in this fashion. What am I missing on trying to accomplish this?

Thank you for your help.

New to NX,

Randy
 
Here is one method (it is a bit easier in NX 9 and above). The steps below assume you are starting fresh with no attributes created yet.
[ol 1]
[li]switch to the modeling application[/li]
[li]create the NX_MATERIAL string attribute (leave the value blank for now)[/li]
[li]assign a material to your solid body (Tools -> materials -> assign material...)[/li]
[li]start the expression editor (Tools -> expression...), change the "listed expressions" filter to "attribute expressions"[/li]
[li]if the material attribute does not show up here (it probably won't), press the "reference part attribute" button, choose the "Material" attribute (the NX generated one, not your blank attribute); you should now see an attribute expression such as "p1 (Part Attribute:Material)", cancel the expression editor[/li]
[li]go to the file attributes, select your attribute (NX_MATERIAL) and choose "link to expression"[/li]
[li]choose the expression that showed up previously and ok the dialogs[/li]
[/ol]

www.nxjournaling.com
 
You guys are the best. Thank you very much. I knew it could be done.

Thanks again,

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top