The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Topics related to the Grasshopper-Archicad Connection and the various tasks that can be achieved with it.

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy

#324394
As far as I know (and figured out) one can get list of attributes of certain AC_Attribute (called "Inputs" in ARCHICAD GH Addon) but read-only (In python).
Create python component and give it input "zone" and connect "Zone Category" to it, then write in component:
Code: Select all
for zone_attr in dir(zone):
    print zone_attr


connect output "out" to panel and one can get list of avaliable attributes like Category number, Color, Name.
Try other AC_attribute components
I asked GS Crew if its possible to create programatically an object of ie AC_ZoneCategory class set its valaues and pass it to Zone Settings component and they responded: "Computer says No"