Disable when: using Detail attrib inside subnetwork?

   731   1   0
User Avatar
Member
1013 posts
Joined: April 2017
Offline
Hi!

I've got a simple subnetwork with some channels exposed. Inside, there's a Detail Wrangle with a i@pieceCount. I want to disable a channel of my subnetwork when @pieceCount is below a value but using:

{ pieceCount > 2 }

...clearly doesn't work. Any tips on how to do this?

-Olivier
User Avatar
Member
7849 posts
Joined: Sept. 2011
Offline
by disablewhen do you mean switchif? Disable when is for parameters. parameters can only be controlled by other parameters, not attributes. You could add a dummy parameter to hold the value of the detail attribute, but that would make the parameters dependent on the cooked input which is a big no-no.
  • Quick Links