Wilson L
aiyapk
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Link up multparm from HDA-level to inside level w/o python? Jan. 14, 2023, 11:28 a.m.
I have a top HDA-level multiparm setup, where a user can click on the plus sign to add additional fields. And lets say it adds an empty string field (name#), and a float value slider (value#).
Inside the HDA, I have a simple attribute wrangle, and I have setup a similar thing with the multiparm, and also the same string field and float value param.
It's easy enough to link up the multiparm itself via 'paste relative references' since it's a single field that's always present. However, I'm wondering how to have the # fields dynamically link up. I've linked this up before via python when dealing with python interactive viewer states, where a mouse event will run code to 'link' up the values. But is there a non-python way to do this?
Or do I need to setup a python callback script in the parameter definition?... I've personally not used callback scripts much in the parameter description field. How would I set this up?
thanks!
Inside the HDA, I have a simple attribute wrangle, and I have setup a similar thing with the multiparm, and also the same string field and float value param.
It's easy enough to link up the multiparm itself via 'paste relative references' since it's a single field that's always present. However, I'm wondering how to have the # fields dynamically link up. I've linked this up before via python when dealing with python interactive viewer states, where a mouse event will run code to 'link' up the values. But is there a non-python way to do this?
Or do I need to setup a python callback script in the parameter definition?... I've personally not used callback scripts much in the parameter description field. How would I set this up?
thanks!
Accessing multiparm list 'Remove/Insert Before' non-parms? Nov. 4, 2022, 9:45 a.m.
ah perfect, exactly what I needed. Thanks!!
Accessing multiparm list 'Remove/Insert Before' non-parms? Nov. 3, 2022, 7:13 p.m.
Best example is a simple add sop node.
In python, it's easy enough to set the 'points' parameter to add/remove points. But suppose I had 5 points, and I only wanted to delete the point at index 1 (the 2nd point down the list), I would need to click on the red X to delete it.
Is there a way to execute this same command via python?
Also, suppose I have two add sops, add_A and add_B. They're linked up so the number of points coming from add_B matches add_A. Again, how could I remove the point at index 1 for add_A and somehow have the index 1 point from add_B also removed (hence wondering if there's even a way to add expressions or link up this button)
Thanks!
In python, it's easy enough to set the 'points' parameter to add/remove points. But suppose I had 5 points, and I only wanted to delete the point at index 1 (the 2nd point down the list), I would need to click on the red X to delete it.
Is there a way to execute this same command via python?
Also, suppose I have two add sops, add_A and add_B. They're linked up so the number of points coming from add_B matches add_A. Again, how could I remove the point at index 1 for add_A and somehow have the index 1 point from add_B also removed (hence wondering if there's even a way to add expressions or link up this button)
Thanks!