We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Purged attribute list without purging the attribute

ReignBough
Enthusiast
Is there a way to get the list of all attributes used in the project without purging the attributes.


Purge1.png

~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
3 REPLIES 3
Akos Somorjai
Graphisoft
Graphisoft
ReignBough wrote:
Is there a way to get the list of all attributes used in the project without purging the attributes.
Yes, there's a "Print to FIle..." button in that dialog, that allows you to save the list. If you switch to the All tab, then you'll get all the attributes.

Cheers, Akos
ReignBough
Enthusiast
I'm sorry, but what I mean is through code. I want to get the list of all the materials being used on a project.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Akos Somorjai
Graphisoft
Graphisoft
ReignBough wrote:
I'm sorry, but what I mean is through code. I want to get the list of all the materials being used on a project.
There's no simple way to do that. You have to go through all the different element and attribute types, placed objects/windows/doors material attribute parameters etc. Go through all element defaults as well.
You'll also have to switch to the different database types whereever a material might be used.

Best, Akos