Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
Setup & License forum

Algorithmic Scripting and Creating Multiple Randomize Holes

Not applicable
Hi Everyone! I would really appreciate if somebody could solve my specific inquiry.

Does anyone know if you can do algorithmic scripting in Archicad?

I need to create multiple holes (+2500) with specific randomize radiuses on a slab. [/size]

I know how to create one hole at a time. I also know how to create multiple holes using copy/multiplying the first hole to create a matrix. Sadly non of this options can be use in this case since I have to follow a specific pattern created previously. I am using algorithmic scripting in MAYA to create a parametric pattern in several 1.5mts. x 3,0mts surfaces. The 2D object is exported to Archicad as .DWG or .DXF to give it thickness and to create a Library object with different orientations. The objects are inserted in an Archicad project that is finally exported to Ecotect, Radiance and Equest for the Energy Modeling.


I also tried exporting the object already as a perforated surface from MAYA but Archicad seemed not to "read" the solid model (.dwg, .dxf)



Eduardo Rolon
Just to get 2 options out of the way

To create a 3d from a dwg or dxf you have to open as an Object, under File-> Libraries and Objects-> Open object or you can use the 3DS plugin if you export from Maya as 3DS.

Archicad does not do scripting so every solution will be a workaround. Another option to try is to export the "holes" from Maya as a solid object and them subtract them from the slab but it might not behave well. Another option is to export the 2d surface and use it as a template to "magic wand" the holes in the slab though it will take 2,500 clicks.
eduardo rolón AIA NCARB
Another of the forum moderators.
Macbook Pro M1 Max 64GB ram
OS X 10.XX latest
AC26 US/INT -> AC08
Puerto Rico, BVI, Miami

Vectorworks 2023

Laszlo Nagy
Community Admin
Community Admin
In GDL this would be relatively easy to do.
You would have the use the RND function to randomize the x,y coordinates and radius of each hole.
The object would be pretty complex with tens of thousands of polygons. (If each hole is approxiated by AC by 16-sided polygons, that's already 40000 polygons).
Get Archicad Tips at
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

Not applicable
If holes are randomly distributed, there is a good chance for overlapping. Not allowed for a slab.
SEOs would allow this, but with so many holes, better to forget it.

As a possible workaround, you could generate pseudo holes with 3d black circles at a tiny distance of the slab surface.
Anyway, such object will be slow to calculate, even with a low resolution.
In 3D Script, put a >shadow off< statement before circles calculation.

Not applicable
Thanks to all of you! Yeah, I wanted to avoid the +2500 clicks, so creating the 3d element in Archicad based on the Maya algorithmic pattern is out of the questions. (Algorithmic scripting and overlapping required)

Thanks Eduardo (ejrolon)! I finally created the 3D object in Maya and export it in .dwg. Imported to Archicad as a library object.


Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!