I need an object to hide under two conditions

I need an object to hide under two conditions,> 30 and <210
how I do?

Add a Hidden attribute to the sub component.

Hidden =if(or(length<=30,length>=210),1,0)

4 Likes

thanks, it worked.
Is there any pdf with examples of how to use these codes? I knew the logic but could not write.

https://help.sketchup.com/en/sketchup/dynamic-components-logical-function-examples

Here’s a list of the supported logical functions in Dynamic components.

1 Like