How to link Multiparms between HDA and its child nodes?
1677 5 3- raincole
- Member
- 539 posts
- Joined: Aug. 2019
- Offline
Let's say I have an HDA with a Attribute String Edit SOP in it. I'd like to promote the Attribute String Edit SOP's mulitparm to the HDA.
The HDA:
The child Attribute String Edit SOP:
What expressions should I use for these parameters?
ch("../filter#")
doesn't work.
ch("../filter0")
works, however, it doesn't work when the number of multparms changes.
I know I can use Alt+MMB to promote the multiparm from the child node to HDA. But I'd like to know how to do it manually. For example, I might have two children nodes that both need to share the multiparms from the same parent HDA.
The HDA:
The child Attribute String Edit SOP:
What expressions should I use for these parameters?
ch("../filter#")
doesn't work.
ch("../filter0")
works, however, it doesn't work when the number of multparms changes.
I know I can use Alt+MMB to promote the multiparm from the child node to HDA. But I'd like to know how to do it manually. For example, I might have two children nodes that both need to share the multiparms from the same parent HDA.
Edited by raincole - Jan. 29, 2024 20:36:55
- ObeidaZakzak
- Member
- 123 posts
- Joined: Dec. 2019
- Offline
Hello,
From the Edit Type Properties window, you can set a list of paths to multiparm blocks.
Then, to link each channel to children channels, you can do it from the "Channels" tab on the appropriate parm of the HDA.
Make sur that you always use '#' in links created from this window, and that all multiparm blocks share the same start index, otherwise you will have an offset.
Here's an example with a subnet, using Edit Parameter Interafce window, should be the same for Type Properties on HDAs.
From the Edit Type Properties window, you can set a list of paths to multiparm blocks.
Then, to link each channel to children channels, you can do it from the "Channels" tab on the appropriate parm of the HDA.
Make sur that you always use '#' in links created from this window, and that all multiparm blocks share the same start index, otherwise you will have an offset.
Here's an example with a subnet, using Edit Parameter Interafce window, should be the same for Type Properties on HDAs.
Edited by ObeidaZakzak - Jan. 30, 2024 03:06:18
Houdini Pipeline Supervisor @ TAT Studio
- edward
- Member
- 7899 posts
- Joined: July 2005
- Offline
- tamte
- Member
- 8845 posts
- Joined: July 2007
- Offline
the link will be set up automatically if you promote the parms by draging the "Number Of Filters" parm into Type Properties window Parameters/Existing Parameters section
or from Parameters/Create Parameters/From Nodes section into the Parameters/Existing Parameters section
or from Parameters/Create Parameters/From Nodes section into the Parameters/Existing Parameters section
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- AhmedHindy
- Member
- 136 posts
- Joined: Oct. 2020
- Offline
tamtethis works good and all, but I am creating a custom file cache which has 2 TOP nets inside like the regular Labs file cache. it should have the 'wedging' multiparm linked to both 'TOPnet Cache' and 'TOPnet display' at the same time. I tried doing it exactly like labs file cache but it can only link one multiparm inside with the outside one.
the link will be set up automatically if you promote the parms by draging the "Number Of Filters" parm into Type Properties window Parameters/Existing Parameters section
or from Parameters/Create Parameters/From Nodes section into the Parameters/Existing Parameters section
- tamte
- Member
- 8845 posts
- Joined: July 2007
- Offline
-
- Quick Links