Display malfunction of Graphisoft ID dashboard
Learn more
cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[SOLVED] Create Stairs using C++ API

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
Anonymous
Not applicable
Thank you for the answer! =]

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!