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

Questions regarding curtain wall and elements.

Anonymous
Not applicable
Hey,

I have a couple of questions.

First: Is there a way of choosing the bottom start of the curtain wall?
I ask this because a normal wall has a bottomOffset, but I couldn't find anything that would do the same thing in curtain walls.

Second: Is there a way of translating, rotating and scaling a generic element?
For example, in the case of a shell I can access its transformation matrix,
shellElement.shell.basePlane.tmx
and modify it at my desire. Is there anything generic for all elements that can provide the same behaviour?

At the moment I created a "home-made" function that rotates an element by accessing it's memo.coords and applying manually the rotation on the z-axis, the thing is that in this way I'm limited to z-axis rotation.

Thank you in advance!
0 REPLIES 0