cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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