plazadelmar Posted November 29, 2023 Share Posted November 29, 2023 (edited) Do I use the chf to access the parameter in another node? For example, accessing scale in transform node from wrangle. Edited November 29, 2023 by plazadelmar Quote Link to comment Share on other sites More sharing options...
Atom Posted November 29, 2023 Share Posted November 29, 2023 (edited) A quick way to avoid guessing is to find the parameter you want to fetch (VEX can't write to parameters), right-click and copy it to the clipboard. Return to your empty wrangle node and paste as relative reference into the empty text box. This should give you a back-ticked ch() type path that you can use inside your vex code. f@rows = `chs("../sphere1/rows")`; Edited November 29, 2023 by Atom 1 Quote Link to comment Share on other sites More sharing options...
plazadelmar Posted November 30, 2023 Author Share Posted November 30, 2023 13 hours ago, Atom said: A quick way to avoid guessing is to find the parameter you want to fetch (VEX can't write to parameters), right-click and copy it to the clipboard. Return to your empty wrangle node and paste as relative reference into the empty text box. This should give you a back-ticked ch() type path that you can use inside your vex code. f@rows = `chs("../sphere1/rows")`; I tested this morning and I cant make it work, the scaled value by half is not affecting the outcome f@scale = `chs("../transform1/scale")`*0.5; Quote Link to comment Share on other sites More sharing options...
Atom Posted November 30, 2023 Share Posted November 30, 2023 (edited) That's odd, it works for me. The resulting value from the transform scale is cut in half and stored on the points. As I mentioned in the post before, VEX can't write to parameter fields. Are you expecting the value of the upstream transform to change? Edited November 30, 2023 by Atom 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.