2023-09-05 07:05 AM - last edited on 2024-09-16 02:17 PM by Doreena Deng
From Attributes Manager we can select and save as text of attributes use in project as show below picture, I am looking for way to get the status 'Inuse' via any API functions or any workaround.
Is anyone has an idea?
2023-09-05 11:56 PM
If you archive the file as .pla will have pretty much only what was used in the file. And you can also "purge" all unused stuff using the attributes manager. Select All > Append > Save as TXT
That gives you a list of everything in the project file that is manageable with the Attributes Manager. ? Does that help ?
ArchiCAD 25 7000 USA - Windows 10 Pro 64x - Dell 7720 64 GB 2400MHz ECC - Xeon E3 1535M v6 4.20GHz - (2) 1TB M.2 PCIe Class 50 SSD's - 17.3" UHD IPS (3840x2160) - Nvidia Quadro P5000 16GB GDDR5 - Maxwell Studio/Render 5.2.1.49- Multilight 2 - Adobe Acrobat Pro - ArchiCAD 6 -25
2023-09-06 03:47 AM
Sorry if my question is not clear. I am looking for API function or workaround method to retrieve the status 'Inuse' of attribute as shown in the sample picture from elements.
2023-09-07 08:08 AM
I never found an API function that returns exactly that information.
The only approach I came up is to actually iterate through all the elements (and other attributes) and check if the attribute is used.
This is very cumbersome and you'd have to know all the places where a potential attribute could be used.