cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Sam Karli
Advocate

API: How to check if an attribute is used in the project

Using the Attribute manager the user sees whether an attribute, like a texture, is used in the project or not (first column checkboxes).

 

I've been looking for the same in the C++ API and I swear I haven't seen anything similar neither among the functions nor among Attribute structures.

 

Any idea how to achieve this is greatly appreciated.

GDL/Python/C++ dev
2 Replies 2

Hi!

I think there's no such functionality directly available.
The only way I can come up with is to iterate through all the elements and store their used attributes. That's unfortunately quite some implementation work.


Best regards,

Bernd

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
Sam Karli
Advocate

Needless to say how much time is it to run. (I'm about to purge too heavy teamwork projects).

Thanks for Your answer.

GDL/Python/C++ dev

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!