Got a minute? We appreciate your feedback:

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

Extract wall composite name with API (AC26)

YourQS
Participant

I would like to extract the composite name from walls, slabs, and roofs using the API.   I have got all the other information I need (dimensions, instance name, etc) but I am struggling to find where to get composite info.   I have attached 2 screenshots showing what I need to get.

 

Could someone point me to where this value is held?

 

Thanks in advance.

 

WallFill.PNG

 

SlabFill.PNG

1 ACCEPTED SOLUTION
2 REPLIES 2

Solution
Joel Buehler
Enthusiast

The Composite is in element specific structs

JoelBuehler_0-1695374614967.png

 

 

here is a example of the wall:

 

https://archicadapi.graphisoft.com/documentation/api_walltype?s=API_WallType

 

you get the Attribute Index and with ACAPI_Attribute_Get you should be able to mangle to the name of the composite

 

 

 

 

Thanks very much

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!