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!

Changing NX Part Material using NX Part Attribute???

Status
Not open for further replies.

Pavarotti

Mechanical
Jan 14, 2010
2
Hi all,

My name is Magnus and i am new to this forum.

I have a question regarding assigning/changing material to an NX Part using the NX Part Attribute "Material".

Is this possible?

In detail,
Say that we have a Teamcenter Enginnering (2005SR1) enviroment managing NX (Version 6). In this enviroment the NX Part attribute "Material" is mapped to a Teamcenter attribute "NX_Material". The Teamcenter attribute "NX_Material" has a LOV, a list of values that are relevant for this attribute, i.e. all relevant NX Part Materials.

Can NX be set up so that the users can change the material for a NX Part in Teamcenter, using the Teamcenter attribute, which through the mapping gets updated to the NX Part attribute "Material" which in turn then changes/assigns the part material?

I hope my explanation isn't to confusing.

Thankful for any respons or input.

 
Replies continue below

Recommended for you

As far as I'm aware that's not possible. I'm aware of what you can do in Teamcenter but I've never bothered to change part materials this way as it isn't configured in systems that I've worked with as far as I was aware at the time.

However I'd still be interested to hear why you would want to do this? How often would you design a single geometric definition of a product that would have a material change that you don't reflect by changing the drawing of it? It seems like a dangerous thing to want if you're not careful about how it might be used. Sometimes knowing that a system can't do a thing that you possibly don't want it to be able to do has a reassuring aspect!

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
Well, it is a request for a customer of ours. I agree with you that the function has its risks and have explained what might happend. While they realize that they are still interested in this functionality, but not at any cost.

Without knowing NX well enough yet, i think this functionallity would be possible to create by writing a script that changes the material of the part. That script should be executed at NX Part Open after the attribute mapping has been performed. I think this would be a fairly simple script but i dont know how or at what events you can get NX to trigger scripts?
 
With the script that you use. The easier way would be to just change the material attribute as a text string against a list of names of types of materials. However the better way is to use Tools>Material properties to define material types and assign their masses to the solid bodies in the file. I'd urge you to look into creating the customisation that best suits you and doesn't commit you or your customer to a compromised solution.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
what events you can get NX to trigger scripts?
In the help files, search for the term 'user exit'. These are events that can trigger some custom code to execute. I knew there were events for file open, save, add component (simple stuff); but there is actually quite an extensive list.
 
What you want to do can be done in the other direction. ie set the material of the part in NX, the material attribute in NX is automatically updated and on save in NX the mapped material attribute in Teamcenter is updated.

NX 6.0.1.5, TC 2007
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor