cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

[SOLVED] Create Stairs using C++ API

Not applicable
Hey there, I wasn't able to find a structure on the C++ API that can represent the stairs that is used on the graphical interface of ArchiCAD. I thought it would be in API_Element, just like walls, windows and the other elements.

Is there any way of creating stairs using C++ API?
2 REPLIES 2
Xylios wrote:
Hey there, I wasn't able to find a structure on the C++ API that can represent the stairs that is used on the graphical interface of ArchiCAD. I thought it would be in API_Element, just like walls, windows and the other elements.
A stair is simply an object, so you would use API_ObjectType. The one difference is specifying the correct object tool. Do this by setting the head.variationID to APIVarId_SymbStair.
Ralph Wessel BArch
Central Innovation
Not applicable
Thank you for the answer! =]