Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Get all wall composites

Emkave
Booster

Good day to everybody. I have a struggle with retrieving the whole data about wall composites that exist in an Archicad project.
Here is the empty Archicad project:

 

Emkave_0-1739533001391.png

 

and here is the list of wall composites:

Emkave_1-1739533101190.png

 

I will be really glad if somebody tells me a way how to get all of the composites without passing an element or guid or any other data to the API. I just want to make a code that would return me the list of all existing wall composites.

Thank you in advance!

 

Operating system used: Windows 11

10 REPLIES 10
JeffH
Advocate

I have a schedule built into our template that does that. Nothing was needed outside of the Archicad file to create this.

 

JeffH_0-1739539754448.png

 

 

 

AC24 / AC26 / AC27
Win10
Laszlo Nagy
Community Admin
Community Admin

@Emkave,

Do you want to do this with the API or using Schedules, without the use of API?

 

@JeffH,

Doesn't your method require at least one placed element for each Composite for them to be displayed in the Schedule?

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Barry Kelly
Moderator

In the Attribute Manager (not the Attribute Palette), you can select all of the composites and save as a text file.

 

BarryKelly_0-1739835766437.png

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Yes, I would like to make it work with the API. I know that such data is stored in Archicad somewhere, but I need that data to be extracted somehow via the API

Noemi Balogh
Community Admin
Community Admin

@Emkave if you need help with the API, please ask your questions in the Developer Hub.

Noémi Balogh

Community Expert, Admin

That is correct.

 

I use it moreso as an audit, to make sure walls don't get added into the project that don't follow the correct naming convention that is needed for our wall tags to work.

 

 

AC24 / AC26 / AC27
Win10

OK, in this case, I have moved the topic to the Archicad API forum as that is more relevant.

Hopefully, API gurus will read it there and will be able to help you.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Apologies, I am just pretty new in this community and still need some time to adapt

Laszlo Nagy
Community Admin
Community Admin

No worries.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Setup info provided by author