Copy link to clipboard
Copied
Hi! People,
There's a boolean input node having indentifer name as "bevel_type"
There's a second input value node.
I want input value node to be visible when "bevel_type" is true.
I'm finding such a simple stuff difficult.
I used this as guide:
Visible if: control visibility of inputs, outputs and parameters | Substance 3D Designer (adobe.com)
The expression I entered in the "Visible If" of input value node is:
input["bevel_type"] == True
input.bevel_type == True
A) There's no way to add line_break/ENTER/Return in "Visible If" field as shown in the documentation link above.
B) It's just giving me yellow exclamation.
Thanks for the screenshot, now I see the difference between what we were doing.
As far as I am aware, Visible If has to reference an input parameter (in the input parameters section) rather than an input value node.
Dave
Copy link to clipboard
Copied
Hi
If the identifier for your Boolean Input parameter is bevel_type You just need
input.bevel_type == true
Note the spaces before and after == and also lowercase true
This looks like a Substance Designer question so I will move the thread to that forum
Dave
Copy link to clipboard
Copied
Hey, Thanks for the quick reply.
I tried:
input.bevel_type == true
and
input["bevel_type"] == true
Unfortunately that didn't work.
In such problem I don't know what else to check. The identifier exists, the letter case is correct, good syntax.
Copy link to clipboard
Copied
Can you show a screenshot of the input parameter labelling and also the other input visible if entry as below (where it is working here)
Dave
Copy link to clipboard
Copied
Here's the screenshot:
I want to control the visibility of two inputs (Bevel In and Bevel Out) using the bevel_type input (boolean type).
Copy link to clipboard
Copied
Thanks for the screenshot, now I see the difference between what we were doing.
As far as I am aware, Visible If has to reference an input parameter (in the input parameters section) rather than an input value node.
Dave