Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

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

About building parametric objects with GDL.

how to make an object for adding lines by length


Hello, I want to ask if anyone knows how to make such an object in the library so that it is possible to draw the object according to its length. It involves drawing the number of rows of bricks in sections. I use it in my projects in slice view. the lines are 250 mm apart. Plus setting their width according to the thickness of the bricks.
I tried something similar to this video.


dotaz na archicad.jpg

Barry Kelly

Just use the "A" (length) parameter for the length of the lines.

Then you place and can stretch the width of the bounding hotspots to match the width of the wall.

It won't automatically recognise the width of the wall - I am assuming this is just a 2D overlay object you are placing on the wall in section to represent the bricks/blocks in the wall.




PS this is more a GDL question, so I will move the thread to the GDL forum.

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
FOR i = 1 to int( height / spacing )




Which is exactly what was shown in the video. Maybe share the relevant part of your script? Or watch the video again to see what you missed.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660


I can't set one thing. So that the distance between the lines is at a distance of 250 mm



You could also just use a vectorial fill with lines spaced at the desired distance - no scripting required.  Not sure what you want this for, but it looks like supplementary detailing.

Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5003 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb