Jump to content
Sign in to follow this  
that Abstract guy

Setting or changing parameters with VEX

Recommended Posts

Posted (edited)

Hi.

A little basic question when reading the documentation:

I assume you can only access the parameters of the node in which the VEX snippet lives? On the right, i tried changing the 'size' of the box, but it doesn't work. Of course it needs a path.

And i assume you can't change/write the parameters that are above the current Wrangle node with something like ch(), right?

 

5c794fcf34828_Screenshot2019-03-01at16_19_37.thumb.png.9e29bd9cdf1f1636106523b965d8f3a1.png

 

Thanks.

Edited by DévinOdforce

Share this post


Link to post
Share on other sites
17 minutes ago, DévinOdforce said:

assume you can only access the parameters of the node in which the VEX snippet lives? On the right, i tried changing the 'size' of the box, but it doesn't work. Of course it needs a path.

And i assume you can't change/write the parameters that are above the current Wrangle node with something like ch(), right?

first of all you can't change parameter values with VEX at all

to access them you need to use ch(), chi(), chf(), ... this way you can access any parameter from the scene, however I'd advise only accessing parameters directly on the Wrangle and channel reference others in them if you need to to properly track the dependencies

21 minutes ago, DévinOdforce said:

when reading the documentation

that part is super specific to VEXpressions, it's just because many of the parameters on such nodes (mostly POP DOPs) are actually referenced in the VOPnet and passed through snippet as arguments of the same names, therefore it seems that you can access those parameters and alter them, while in reality you are modifying a variable passed to the snippet and initialized wit the parameter value, then the result of the snippet is used 

dive into any of those nodes to observe how it's all connected

  • Thanks 1

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
Sign in to follow this  

×