Jump to content
dszs

VEX UI help

Recommended Posts

Hi guys,

             I am quite new in VEX and I faced some problems when doing the ui.

            

For now I have a pragma code that states

#pragma hint pccloudpath invisible

I understand that this makes it invisible so I cannot edit it on the parameter interface, but how do I make a toggle for this to appear when I want to give it my own input?

 

Any help is much appreciated!

 

- Darren

Share this post


Link to post
Share on other sites

There is a built-in method to hide parameters from other parameter states when creating vex nodes from vex code. 

 

Say you have a toggle parmeter called "toggle", then you can do this to hide a parameter called "parm" when toggle = 0:

#pragma hidewhen  parm { toggle == 0 }

Share this post


Link to post
Share on other sites

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

×