We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

auto-adapting sill

Anonymous
Not applicable
Hi all,

I am trying to script some of my own windows and doors. I got some working, but I want to create a sill under my windows that grows or shrinks automatically if the window is further or nearer to the wall plane.

I see this happening with the standard windows that come with Archicad, but I cant find how they do this.

I do come across the term Glob_context, but how do I implement this if it is what I am looking for?

(ArchiCad 17)
10 REPLIES 10
Anonymous
Not applicable
oke, I was a bit to hasty...

The first line needs to be:

WALL_THICKNESS = WALL_THICKNESS

Otherwise the window doesn't change when you alter the wall's thickness...

The second one becomes:

WALL_THICKNESS = WALL_THICKNESS-WIDO_SILL-0.04

Because I don't want the block to come out of the wall. The 0.04 is space occupied by the concrete outside sill.