BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Extractelement 3d geometry using C++ API

Anonymous
Not applicable
How to get the element (Slap, wall, roof, extrude etc..) 3d geometry such as profile, polygon coordinates, surface etc.
4 REPLIES 4
Ralph Wessel
Mentor
Arularasu wrote:
How to get the element (Slap, wall, roof, extrude etc..) 3d geometry such as profile, polygon coordinates, surface etc.
Take a look at the ModelAccess API. There is an example called ModelAccess_Test. There doesn't appear to be any documentation though.

If this isn't suitable, you can still use the old 3D Manager, e.g ACAPI_Element_Get3DInfo.
Ralph Wessel BArch
Anonymous
Not applicable
Thank you Ralph
Anonymous
Not applicable
How to get the extrude profiles from a wall element. All we can get is polygons, edges & vertices. We need to get extrude profiles etc. It is possible to get extrude profile information's ??
Ralph Wessel
Mentor
Arularasu wrote:
How to get the extrude profiles from a wall element. All we can get is polygons, edges & vertices. We need to get extrude profiles etc. It is possible to get extrude profile information's ??
The extrusion profile(s) for a wall with a custom profile can be retrieved from the profile attributes. Take a look at the documentation for API_ProfileAttrType and API_AttributeDefExt. You will need to calculate an extrusion profile for other types of walls, i.e. the API won't give you one.
Ralph Wessel BArch
Learn and get certified!