...that's not a ramp link...?
i'm trying to have two FUSE nodes in an HDA with only ONE 'attributes to snap' multiparm variable.
i see there's the 'opmultiparm' tool that i think is for this but couldn't get it to work. i also tried the pyro2 xferLinkParm, but it was only linking how many attribs to snap and wasn't linking the instanced variables as well. i saw folks also talking about ramp linking but i tried doing what they were doing and it didn't seem to work either.
thanks in advance!
-seneca
Anyone have an example of a multiparm link?
2531 4 1-
- indigosm
- Member
- 75 posts
- Joined: April 2020
- Offline
-
- tamte
- Member
- 9386 posts
- Joined: July 2007
- Offline
opmultiparm is the way to go, should work fine for your case
Alternatively you can promote that multiparm from one fuse node to your hda, which creates the links also
And then copy that node to get second already linked fuse node
Alternatively you can promote that multiparm from one fuse node to your hda, which creates the links also
And then copy that node to get second already linked fuse node
Edited by tamte - Aug. 25, 2021 12:51:58
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- indigosm
- Member
- 75 posts
- Joined: April 2020
- Offline
tamteyou know of any examples i can look at? the example in the docs didn't help.
opmultiparm is the way to go, should work fine for your case
Alternatively you can promote that multiparm from one fuse node to your hda, which creates the links also
And then copy that node to get second already linked fuse node
-
- tamte
- Member
- 9386 posts
- Joined: July 2007
- Offline
indigosmhere is an example, however it's exactly the same usage as in help, just applied to your situation
you know of any examples i can look at? the example in the docs didn't help.
maybe important to know is that opmultiparm doesn't link existing instances, i'll just create rule for new instances to be populated with such expression
so either start with 0 instances before setting up the rule
or clear the number of instances afterwards and then link the number of instances parm
in following file there are nodes:
/obj/geo1/mynode - which represents your hda
/obj/geo1/mynode/fresh_fuse - which represents a node with multiparm you want to link to your hda multiparm if you didnt do it through promotion
then you can just execute these 2 commands in textport:
opmultiparm /obj/geo1/mynode/fresh_fuse "attribsnapmethod#" "../attribsnapmethod#" "pointattribnames#" "../pointattribnames#" opparm /obj/geo1/mynode/fresh_fuse "numpointattribs" "ch('../numpointattribs')"
first creates the mentioned rule for new instances
and second links the actual number of instances, which in the case of attached scene will create 3 instances already using that rule that will link to parent's multiparm
Edited by tamte - Aug. 25, 2021 23:35:01
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- indigosm
- Member
- 75 posts
- Joined: April 2020
- Offline
aha!!! thank you!!! no wonder why i couldn't figure it out. i've never even heard of textport before or any special commands you fire through what's basically a dos prompt to connect nodes' data together. that's so crazy.
i assumed the command was like all their other commands where you just type it into the variable itself.
thank you!
i assumed the command was like all their other commands where you just type it into the variable itself.
thank you!
-
- Quick Links

