How to make door frame depth adapt to the wall thickness?

Hello everyone,

I did a simple script in gh of a future door and would like to know how to make door frame depth adapt to the wall thickness?


dought door.gh (13.6 KB)

Hi @Leo13 you need to name the Number Slider component meant to be used as the wall thickness with this syntax: %<this.host.thickness>%

You can find an example of this here: Doors windows - VisualARQ

Thanks!