Wilson L
aiyapk
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Link up multparm from HDA-level to inside level w/o python? 2023年1月14日11:28
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? 2022年11月4日9:45
ah perfect, exactly what I needed. Thanks!!
Accessing multiparm list 'Remove/Insert Before' non-parms? 2022年11月3日19:13
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!