Multiparm block referencing

   4433   1   0
User Avatar
Member
190 posts
Joined: April 2009
Offline
I'm trying to create a multiparm block with floats. This way, the amount of floats can be defined by the user.
The idea behind it is that the user creates a curve(in Unity but this could be Houdini as well), and on this curve, the user can add some points. The position on the curve gets defined by the float and the user can add as many points as he or she wants.
In a for each loop, i added a refine node where i want to channel reference the right float.
This here however doesn't work:
ch(“../../../parm`stamp(”..“, ”FORVALUE“,0)`”)
How can i channel reference these floats?
Hope i'm making sense and someone can help me.
Cheers
Rudi
User Avatar
Member
190 posts
Joined: April 2009
Offline
Sorry, stupid me, shouting for help before i think, i found a solution:
creating an extra spare parameter (index_number) and then using a strcat works:
ch(strcat(“../../../parm”, ch(“index_number”)))
cheers,
Rudi
  • Quick Links