Masoud 9 Posted November 7 Hello guys; I want to read value of a parameter of a SOP node, inside a wrangle. Is it possible? Thanks. Share this post Link to post Share on other sites
LucaScheller 29 Posted November 7 (edited) Hi, your code snippet already works. I would recommend using relative paths where possible though: f@test = chf("../line1/dist"); You can also use these functions to read ramps, string, vector or integer parameters or their raw value: Cheers, Luca Edited November 7 by LucaScheller 1 Share this post Link to post Share on other sites
Roznick 1 Posted November 7 (edited) I suppose you want to manipulate the "Length" parameter in vex. You can use something like: f@len = chf("Lenght"); and click on the slider button on the right to make a slider. After that you can copy parameter from the newly created slider and paste relative references to the "Length" in your line node. Edit: Ohh, someone already replied. Well, you can you this way too. Edited November 7 by Roznick 1 Share this post Link to post Share on other sites
anim 924 Posted November 7 I'd recommend against using parameter paths that point different nodes in VEX like Roznick said, create all UI you need on your wrangle and just channel reference those parameters to external parameters, this way Houdini will be able to track dependencies and if you rename your line1 node everything will still work 2 Share this post Link to post Share on other sites
Masoud 9 Posted November 8 On 11/7/2019 at 4:21 PM, LucaScheller said: Hi, your code snippet already works. I would recommend using relative paths where possible though: f@test = chf("../line1/dist"); You can also use these functions to read ramps, string, vector or integer parameters or their raw value: Cheers, Luca I changed path to a relative path and now it works. Thanks everyone. Share this post Link to post Share on other sites