We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.
SOLVED!

GDL tools for fills along a path

AlexV
Booster

HI.

I'm recreating the post here bc. I first posted on the Design forum and maybe it wasn't the right forum.

 

I'm looking into creating an object that works bassicaly like a wall tool but only as a 2d shape. Input a path ( line, spline or polyline) and "extrude" the shape along it - keeping just the 2d fill. So that I can work with it on layouts, worksheets etc. Basically a graphical tool for creating diagrams. It's a bit strange that we have the wall / beam / railing tools that do that so well in 3d but nothing for 2d presentations. ( I know that I can draw it on floor plan and explode it but that's awful if you need to change something and redo all the lines for example)

 

The only resource I can find by searching for it is POE https://gdl.graphisoft.com/reference-guide/polygon-operations-extension, but there is little information about it and all the posts are from many years ago.

 

Is this the best way to approach it? If anyone has some thoughts on this or even pointers, it would be much appreciated. dunno maybe there is something that can do that today & I missed it.


lines.pngshapes.png
Archicad 21-27
Windows 10 / Xeon W-2245 / RTX A4000 / 64GB RAM DDR4 / 2 x 1440 screens
3 ACCEPTED SOLUTIONS

Accepted Solutions
Solution

If you search for the polyline object from sincev6 that is probably where you want to go.

View solution in original post

Solution

I found this thread to help others avoid searching:

 

https://community.graphisoft.com/t5/Developer-forum/Dynamic-Polyline-base-code-object-VERSION-2/m-p/...

 

One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

View solution in original post

Solution
Miha Nahtigal
Advocate

My object "ArPolyline" does exactly what you need, except for arrows at the end.

ar_library/Library_Src/2D/arPolyline at main · malamalca/ar_library (github.com)

 

Regards

BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.

View solution in original post

5 REPLIES 5
Solution

If you search for the polyline object from sincev6 that is probably where you want to go.

Solution

I found this thread to help others avoid searching:

 

https://community.graphisoft.com/t5/Developer-forum/Dynamic-Polyline-base-code-object-VERSION-2/m-p/...

 

One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
AlexV
Booster

The Dynamic Polyline by sinceV6 is a good start for sure !

Archicad 21-27
Windows 10 / Xeon W-2245 / RTX A4000 / 64GB RAM DDR4 / 2 x 1440 screens
Solution
Miha Nahtigal
Advocate

My object "ArPolyline" does exactly what you need, except for arrows at the end.

ar_library/Library_Src/2D/arPolyline at main · malamalca/ar_library (github.com)

 

Regards

BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.
AlexV
Booster

Hej... yes it does. Pretty cool!

The arrow pointer can easily be added with a sub.

Question though :The library part icon shows a poly with lines and arcs, but I can't seen to change the segments to arcs. It is so that it's just straight segments between hotspots? I read in the sinceV6's post he complained about adding arcs to the polyline being a PIA so it might be the case.

Thank you, it's a good object for what I need.

Archicad 21-27
Windows 10 / Xeon W-2245 / RTX A4000 / 64GB RAM DDR4 / 2 x 1440 screens