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

Archicad C++ API
About Archicad add-on development using the C++ API.

Window position customisation

roni
Booster

Hi all,

I was trying to customize the window's position using the dev kit.

In the ArchiCAD UI, I can see several options like in the screenshot where I can adjust the offset of the window with respect to story or ground.
Which parameters should we use for the same in CPP code?

 

window_offset_options.png

1 REPLY 1

Check out the API_VerticalLink structure in API_OpeningBaseType. This lets you set the type of vertical link for the window.
eg: element.window.openingBase.verticalLink.linkType