×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Changing NX Part Material using NX Part Attribute???

Changing NX Part Material using NX Part Attribute???

Changing NX Part Material using NX Part Attribute???

(OP)
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.

 

RE: Changing NX Part Material using NX Part Attribute???

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

RE: Changing NX Part Material using NX Part Attribute???

(OP)
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?
 

RE: Changing NX Part Material using NX Part Attribute???

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

RE: Changing NX Part Material using NX Part Attribute???

Quote:

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.

RE: Changing NX Part Material using NX Part Attribute???

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources