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.

ArchiCAD Python Palette - AssertionError

marcoho01
Contributor

Configuration setting: ArchiCAD 27, Windows 10, Python 3.13.0

I used the sample python script "Excel File Exporter" which download from Graphisoft website (https://www.graphisoft.com/downloads/python/) and run in ArchiCAD Python Palette. However, the error "line 10, in <module> assert conn ^^^^ AssertionError" encountered. 

 

connection error2.JPG

1 REPLY 1
Szamosi_Mate
Participant

Hello,

 

The error means the script has not found an Archicad instance listening in the standard port range on localhost. If that is the case, you should get the same error from all other scripts.

 

Which is strange. One unlikely possibilities come to mind: