Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Control over the ArchiCAD elements by GDL scripting

Cosminn
Booster
Hello everyone,
Is there a way to Control ArchiCAD elements by GDL scripting or any other kind of script?

For example if I want to quick change all the override surfaces of a certain walls, slabs and objects, to be able to make that from a script and to run it.

Also, If I need to change other elements to be able to do that as well using a run command, instead of select the elements and to apply surfaces on them manually.

Hope to make sense to you, I heard that this is possible in other BIM softwares and I was wondering if we are able to do that in ArchiCad as well.

Any replies will be greatly appreciated.
Sincerely,
Daniel
4 REPLIES 4
Barry Kelly
Moderator
Certainly not with GDL.

Maybe you could do something with an add-on that you can create (you'll need to discuss this in the developer's section of this forum).
I have never delved into add-ons but I could imaging you would still have to manually select your elements for change before running the add-on.
Or if you can make the add-on select the elements you would still have to feed it the search criteria in which case I would just use Find & Select and do it manually.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Cosminn
Booster
Sorry for my late reply Barry, and thank you for your advice.

I know that in AC_19 we can save a material as gsm, I've saved two of them and I tried to manage them, using MVO. but unfortunately I've had no success.

If you have time Let me know if that can work for you, maybe I've missed something.

Thank you so much for your help.
Sincerely,
Daniel
Ralph Wessel
Mentor
Cosminn wrote:
Hello everyone,
Is there a way to Control ArchiCAD elements by GDL scripting or any other kind of script?
The ARCHICAD API is definitely what you want. Take a look in the developer forum. You could also look at this page for starters.
Ralph Wessel BArch
Software Engineer Speckle Systems
Cosminn
Booster
Thank you Ralph.

API is the next step for me. Anyway what I need I guess it is not possible using GDL. I thought I can define 2 surfaces as gsm objects and manage them via MVO, but will not work if those surfaces will be applied n Walls/Roofs, etc, ArchiCad elements.

Will not work because Surfaces are attributes, and I think my code will not run, if I change a parameter, using MVO.

I guess what I need is something like a penSet for Surfaces, if make sense.

Let's say "Surface Set" In this way I can have different scenes, for the same model. I can have one wall, and the surface on that wall will change, based on Surface Set settings, from a particular 3D view.

Hope to make sense.

Regards,

Daniel
Sincerely,
Daniel