×
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

Object Display transparency by expression

Object Display transparency by expression

Object Display transparency by expression

(OP)
I am looking to set the transparency % of a sold by modifying an expression.

Has anyone done this before?

nx 9, TC 10

RE: Object Display transparency by expression

No, It does not look like it is possible

RE: Object Display transparency by expression

The only possible way that I suspect that this could be done would be by using KF (Knowledge Fusion) to gain access to that setting in a model. I know that you can control the color of a body using an Expression through the use of KF and so I suspect that you might be able to do something similar with translucency as well. That being said, I just checked and while I can inherit a Body into KF and while I can find the KF Color attribute I can't find one for Translucency. I also checked teh KF attributes for a Face and again, while I did find one for Color I didn't for Translucency, so it would seem that KF's not going to do teh trick either. That was my only suggestion. Sorry.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: Object Display transparency by expression

How did you get a 'Translucency' attribute added to the 'root'? Your video doesn't show that part of your workflow.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: Object Display transparency by expression

OK, I see where it came from. Thank you. BTW. when you were going thru that long list of 'functions', you could have just entered "translucent" in the 'Find' field and it would saved you all that scrolling.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: Object Display transparency by expression

It would be simple to have a small NX/Open program read the expression value and set the translucency of the object(s). The only problem is that you would then need some way to trigger the execution of the NX/Open code. That's one benefit of KF -- it's fairly easy/natural to get KF code to run whenever it needs to, without you having to tell it.

So, as always, it depends what you're trying to do. If users are supposed to change some expression value to modify translucency, then it would be easier to have them interact with some little NX/Open program, instead. But if the translucency changes are all supposed to be automated/hidden/magic, then expressions and KF might be better.

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