Jump to content

Hide object based on name


This topic is 2681 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi everyone,

I have 3 objects on a layout. I want to hide two, when their name is not in a global variable, aka they are not needed to show. Wrecking my head but can't find a way to do this, because I can't seem to get the name of the button from the button.

Any ideas?

Thanks,

Agi

Link to comment
Share on other sites

1. Did you give the buttons names?

2. Are you hoping for a script param option that sends "the name of me" as a script parameter?

Seems like item 2 should exist; but it doesn't.

Link to comment
Share on other sites

Yes, Bruce, I gave them names. I also sent the parameter.

Yes, that is what I was aiming for, Lee. I just didn't think the Self function would work for some reason. <-- Brain-freeze

Now I only have one issue, the button gets selected (blue highlight frame), so I have to have a commit afterwards, and that's a little annoying. I'll go back to what I did before when I didn't have this issue, since I used a slider. :-)

Thanks, guys! Appreciate the answers. Happy Thanksgiving!

Agi

 

Link to comment
Share on other sites

This topic is 2681 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.