×
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

How to control the color of an NX object by editing an Expression...
2

How to control the color of an NX object by editing an Expression...

How to control the color of an NX object by editing an Expression...

2
(OP)
A request for this was made some time ago in this forum and so I've prepared a Word document (see attached) which describes the procedure for using KF (Knowledge Fusion) to create a way to control the color of an NX Solid Body (or a Sheet body or even the Face of a Solid/Sheet Body) by editing the value of an Expression. Note that you will need an KF license to utilize this procedure but once the part file has been created and the KF expression created and linked to the NX object, you no longer need a KF licence to use the file and control the color via the Expression.

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.

RE: How to control the color of an NX object by editing an Expression...

(OP)
So that you can see how this works, I've attached an example part created using one of the these KF enabled 'color' expressions linked to the solid body. The model was created in NX 5.0 so most of you should be able to 'test-drive' this part file. Just remember that you can only enter a value for the expression 'Object_Color' of 1 thru 216, the maximum number of NX colors. The color assignment will be based on the CDF file assigned to the part file.

Anyway, have fun winky smile

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.

RE: How to control the color of an NX object by editing an Expression...

John this worked beautifully and was something I was looking for. Great post, THANKS!

Do you have anything like this on Cloning parts from a custom library???
That's something I really need to figure out and I know that KF supports it.

I would like to be presented with a re-naming field or maybe just be able to set a re-naming prefix or suffix?? Something on the simpler side with a bunch of gingerbread.

I sure I'm stretching on this type of request tho...

TIA

Dave

RE: How to control the color of an NX object by editing an Expression...

WITHOUT a bunch of gingerbread that is.

Dave
Automotive Tooling / Aircraft Tooling / Ground Support Structures

NX9, Win 7 Pro SP1

RE: How to control the color of an NX object by editing an Expression...

(OP)
Not really. I'm not a KF expert. The object color thing was something I got from someone else.

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.

RE: How to control the color of an NX object by editing an Expression...

Hi I am unable to get your word document link. could you please share it

RE: How to control the color of an NX object by editing an Expression...

That's OK... I'm close to getting it settled. There was a post on here with a part here that had data attached.

I'm a good copy cat.

Have a good weekend!

Dave
Automotive Tooling / Aircraft Tooling / Ground Support Structures

NX9, Win 7 Pro SP1

RE: How to control the color of an NX object by editing an Expression...

Thank you

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