License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

Archicad Python API
About automating tasks in Archicad using the Python API.
SOLVED!

Parameters for GetAttributesByType("..."))

smathiebe
Contributor

Hi All,

I just startet using python with Archicad. The documentation is a bit confusing.

Where can I find the possible paramters for GetAttributesByType.

I found the example with GetAttributesByType("LayerCombination")) but which other types are possible?

Thanks in advance

Stefan

AC25-28, Win10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
poco2013
Mentor

Available attributes are: Composite, Fill, Layer, LayerCombination, Line, PenTable, Profile, Surface, ZoneCategory -- Building Material has its own function. You can see all the available types in the class definition in  the Python Archicad 'site-packages folder

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27

View solution in original post

1 REPLY 1
Solution
poco2013
Mentor

Available attributes are: Composite, Fill, Layer, LayerCombination, Line, PenTable, Profile, Surface, ZoneCategory -- Building Material has its own function. You can see all the available types in the class definition in  the Python Archicad 'site-packages folder

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27