error in node inside FOREACH

   2090   1   0
User Avatar
Member
20 posts
Joined: 9月 2010
Offline
There is an attribute create node called ‘panel’ inside the FOREACH which is a little problematic…it shows bad parameter reference to a node called GENOTYPE even though things seem alrite and infact works well once u keep refreshing the ‘panel’ node. But wen u open the file again, it shows bad parameter reference again. dunno wht the bug is!!

guys, can u pls help me out wit this? Thanks :-)

cheers
VISIKA

Attachments:
dev.hipnc (125.4 KB)

Cheers
ViSiKa
User Avatar
Member
7734 posts
Joined: 7月 2005
Offline
When you load the .hip file, the parameter reference is being evaluated *before* your gene_X parameter is being created because the merge2 node has yet to cook.

Trying to vary the number of parameters that exist based upon some data that might change from frame to frame doesn't really work. My suggestion is to have some button parameter on your GENOTYPE node that sets the “Num genes” parameter. This way, you only create the parameters once, not upon every single time you load the .hip file.
  • Quick Links