cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad Python API
About automating tasks in Archicad using the Python API.
SOLVED!

Missing information in the documentation

Karl_O
Participant

So, I've recently started to try out scripts for the Archicad python wrapper. I have relatively little experience in coding. However. I've succeded in creating a script that extracts given properties from zones in a project och print them out in a word document via the python-docx library.

I keep coming back to the python documentation for archicad and do searches for commands that could give me the data that I'm trying to retrive. I've also salvaged existing scripts provided by graphisoft and found functions that have helped me in what I'm trying to achive.

 

Here is the big question. In these two functions (salvaged from existing scripts) below, we have "Zone_Zone_Number" and in the next we have "General_ElementID".

GetBuiltInPropertyValues([room], 'Zone_ZoneNumber').get(room, '-')

acu.GetBuiltInPropertyId('General_ElementID')

They seem to retrive exactly what they say, however, I can't find anything about them in your documentation. Which leads me to think that there is so much more information that I don't have access to at all.. I've scavaged the internet.

 

Am I wrong about something or is everyone else also missing a lot of information in the documentation provided by graphisoft?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
runxel
Hero

Hi Karl,

that info is "stashed away" under the GetAllPropertyNames() command.

See here.

My guess: They didn't wanted to overburden the documentation with something that can change.

I've put all of these into a file so I can just "cmd+F" for future reference.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

View solution in original post

2 REPLIES 2
Solution
runxel
Hero

Hi Karl,

that info is "stashed away" under the GetAllPropertyNames() command.

See here.

My guess: They didn't wanted to overburden the documentation with something that can change.

I've put all of these into a file so I can just "cmd+F" for future reference.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Karl_O
Participant

Thanks alot!

It will be much easier for me continue digging into this.