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

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