Nested folder in multiparm block

   1633   2   1
User Avatar
Member
11 posts
Joined: Feb. 2018
Offline
Hi,

I have a problem with a multiparm block (list) with a 2 float parameters and a nested Folder (simple). Without the nested Folder there are no issues, however when I attempt to save my .hda with the nested folder I get the following error in my Houdini Console:

ERROR: (-1): Syntax error: syntax error, unexpected $end, expecting '{'
It seems the multiparm is confused at this point. An instance count of 1 shows me 0 parameters (expected 2 and the folder). When I increase the instance count to 2 I suddenly get 3 float parameters (expected 4 + 2 folders).

I have another HDA (can't share) which show similar issues but is usable in Houdini. However, when using the HAPI to loop over the number of parameters in the multiparm I come across the nested folder twice, once with the correct name and another one with _0 post-fix (and empty LabelSH). This is a problem because the parmInfo.instanceCount does not account for this additional parameter.

I have attached my hda. I'm using 18.0.423. Is this not supported or should I change something somewhere?

Thanks,
Vin

Attachments:
Vin_subnet1.hda (3.7 KB)

User Avatar
Member
182 posts
Joined: April 2009
Offline
I think you just need to put the parameters into that folder:

Attachments:
folder.JPG (92.1 KB)

User Avatar
Member
11 posts
Joined: Feb. 2018
Offline
Ahh! That explains why it worked in my other HDA but not in this one. Thanks!
  • Quick Links