How to disable multiparm parm with combined conditions?

   1633   4   2
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
It seems that houdini is not able to evaluate two conditions when the two parms driving them are mixed (one from outside the parmblock folder and one other from inside)
Or it's most likely that I'm just plain dumb.
In any case, would you please have a look?

I'm trying to disable the “local seed” when the general switch is OFF (local seed on?) and when the corresponding sequence type is set to STEP.
As you can see in the picture, the “localSeedOn” toggle is not checked, but it is not able to drive the “disable” action on the local seeds subparms.

Thanks a lot
Edited by Andr - Feb. 6, 2019 15:14:16

Attachments:
Q_multiparm_disable_condition.hiplc (110.1 KB)
disabledwhen.JPG (49.8 KB)

User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
I guess it's just some trivial stuff that I'm missing out.
Anybody has a clue?

cheers
User Avatar
Member
61 posts
Joined: Feb. 2020
Offline
Also wondering about this. Can we not just reference multi parms for disable/hide with the # syntax?

this doesn't seem to work for me

Attachments:
multi_parm_conditional.jpg (206.5 KB)

User Avatar
Member
61 posts
Joined: Feb. 2020
Offline
In my case I had just assumed that menu option could be compared by their index. But you actually have to set the token value to whatever integer, like in this example from the labs random select:

Attachments:
labs_parms.jpg (329.5 KB)

User Avatar
Member
475 posts
Joined: July 2005
Offline
It works for me, if you write "{ traitSequenceType# == 1 } { localSeedOn == 0 }"
  • Quick Links