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.

How to get wall materials and thicknesses using API

Anonymous
Not applicable
Attached is a simple IFC model with one wall. Material of the wall is '100 block insul. cav.' and it has four layers:
- Common Brick 100m
- Air Space 50mm
- Insulation 25mm
- Concrete Block 100mm

Do you know how to get materials and thicknesses using API?
2 REPLIES 2
Oleg
Expert
I am not sure, but may be it is not material and composite fill.

Look at API_CompWallType attribute.
Ralph Wessel
Mentor
Matti wrote:
Do you know how to get materials and thicknesses using API?
As Oleg says, start with API_CompWallType. The critical parts that describe the materials that make up the composite are in an attached memo structure API_AttributeDefExt, specifically the arrays of API_CWallComponent and API_CWallLineComponent.
Ralph Wessel BArch
Learn and get certified!