Search - User list
Full Version: error in node inside FOREACH
Root » Houdini Indie and Apprentice » error in node inside FOREACH
vigneshkaushik
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
edward
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB