cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Archicad C++ API
About Archicad add-on development using the C++ API.

Starting Scripting on Archicad

Anonymous
Not applicable
Hi guys!
I would like to start creating scripts on Archicad 20!

My kind of scripts has nothing to do with GDL objects.
I would like to create automation scripts.
For example:
1) Automatic use the "Fit To Grid Cell" function on my camera's captures, without needing to use it manually.
2) A script that automatically exports each floor individually as a 3ds file.

The point is that each time I work on a project, I need to call the same menu's functions again and again.

I would like to write scripts that execute the menu's methods.
How can I do it?

Thank you
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
ofirster wrote:
Hi guys!
I would like to start creating scripts on archiCAD 20!

My kind of scripts has nothing to do with GDL objects.
I would like to create automation scripts.
For example:
1) Automatic use the "Fit To Grid Cell" function on my camera's captures, without needing to use it manually.
2) A script that automatically exports each floor individually as a 3ds file.

The point is that each time I work on a project, I need to call the same menu's functions again and again.

I would like to write scripts that execute the menu's methods.
How can I do it?

Thank you
Hello,

And welcome

I'm sorry, but ARCHICAD is not scriptable in that sense. You may have some luck with 3rd party testing frameworks, or you can write you own add-ons in C++ — that's what the current API is for. Taking your examples:
1. Write an add-on that fits the selected picture to the grid cell, using ACAPI_Element functions.
2. Our 3DS add-on can be called from another add-on, so you can "ask" it to save certain things for you.

Best, Akos