License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Polyline Accessories

Anonymous
Not applicable
When creating an accessory object I saw that I could select Polyline accessory as a subtype. Does that mean that we can attach those objects to polylines as it is possible with Slabs ? How then ?
Thanks for any help.
18 REPLIES 18
sinceV6
Advocate
Hi.

Yep. Arcs will be segmented. You can script smooth arcs in 2D, but in 3D you know you have to make approximations. Did this for the second version of the polyline script. I updated it about a year ago: simpler script, simpler functions, arcs, better 2D options, better 3D options, etc. I even made a multi-polyline object: as many polylines as you need in a single object, so some could be profiles, some could be paths. It is doable.

The overall problem, unfortunately, is GDL itself. It's an old technology and since it's part of the core, GS seems to be stuck, for the time being, with it. IMHO they should have moved to NURBS about ten years ago. A lot of geometry headaches could be avoided by using newer technologies.

Best regards.
Hmooslechner
Moderator
The segmentation is not necessary in the addon - i think. Ok - all round objects in AC are segmentet, but its no need for these mass of Hotspots on the arc-edges. In most cases there are just flags to set in the 3d-Commands to simulate round objects - still segmented, but looking very clean with just 2 Hotspots at the end. SenecaDesignLLC did some amazing things with that options.


I just playd with the tube-command in the floor-construction-GDL and i think it should be possible to adapt our own previous gdls with the polygone-functionality. We just have to add some switches to turn on and off not needed segments of the whole polygone.

The real problem still will be that it is just an addon and not implemented direct in Archcad. So that normal Users has to install the addon first to get our GDLs for it to work. Many Users aren't able or willing to install simple addons and so our GDLs will not be used very often.. The functionality should be part of Archicad itself. And it should be possible not only for slabs, roofs and walls. It should be possible to be attached to every polygonal object.
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Hmooslechner
Moderator
https://www.youtube.com/watch?v=pRu6-FcOJ1c

Just messing around with the code and an older GDL ..german but shows what is possible with it..
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Pertti Paasky
Expert
sinceV6 wrote:
Hi.
Olivier wrote:
The easiest way to see it in action is to make sure you have the accessories library loaded, create a polyline (with the polyline tool, not connected/grouped individual lines), select it and apply the polyline accesory object: If I remember correctly, only a footing object is available in the library. Once placed, you can change the polyline nodes and the object will follow accordingly, arcs and all. You can even place it to several selected polylines in one go.
So I tried in AC19 but didn´t work. The footing object´s subtype is slab accessory, not polyline accessory. The accessories add-on doesn't recognise any polyline subtype; only slab, wall, roof and zone are available.
I made a new object of polyline accessory subtype but no success.

Still missing something?
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
Pertti wrote:
sinceV6 wrote:
Hi.
Olivier wrote:
The easiest way to see it in action is to make sure you have the accessories library loaded, create a polyline (with the polyline tool, not connected/grouped individual lines), select it and apply the polyline accesory object: If I remember correctly, only a footing object is available in the library. Once placed, you can change the polyline nodes and the object will follow accordingly, arcs and all. You can even place it to several selected polylines in one go.
So I tried in AC19 but didn´t work. The footing object´s subtype is slab accessory, not polyline accessory. The accessories add-on doesn't recognise any polyline subtype; only slab, wall, roof and zone are available.
I made a new object of polyline accessory subtype but no success.

Still missing something?
You need to code some hefty gdl to be able to use the polyline or any of the items in that add on. it requires a lot of looping functions to actually do what you want it to do.
Hmooslechner
Moderator
This addon seems to be in an very early state. Functional - but far away of beeng really useful in this form now.

There is the function for roofs - but just single element-roof. No polyroofs are possible!

The wallfunction works diffrent - and an change in the wall does not change the resulting-GDL.

In the slabfunction - it does change the result after changing the slab.

Obviously there are ideas for polygones and other Elements for this addon - but not yet implemented - because in the delivered GDLs - there are some interesting Elements - but not the function in the addon.


My personal opinion would be to develop this addon and it should become a "static" member of the normal Archicad-functions - out of the box with no need to install it later. Then it should function with all existing Archicad - Elements.

Or this functionality should be implemented part of GDL itself - in a simple way to be reachable for the scripter. Not as it is in the polyline-addon. Its way too complex for the scripter...

Keep it simple - for the user - not for Archicad-Programmers - smile..

In the meantime i play around with the existing solution and think of ways for using it in my GDLS. Now i took the Slab-GDLs and tried to make it as imply as possible to get the corner-points functioning for a simply block-command on each corner - and its not so complex. All other calculations for it have been done bevore like in sinceV6 old Polygone-code or in the one of SenecaDesignLLC. Its just a Question of getting more familiar with this.

https://www.youtube.com/watch?v=freNChAcSkE&feature=youtu.be
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
sinceV6
Advocate
Pertti wrote:

So I tried in AC19 but didn´t work. The footing object´s subtype is slab accessory, not polyline accessory. The accessories add-on doesn't recognise any polyline subtype; only slab, wall, roof and zone are available.
I made a new object of polyline accessory subtype but no success.

Still missing something?


Hi.
So... when you go to Design->Design extras->Accessories do you see four types? Slab, roof, wall and polyline? Or when you select the object tool and open its settings, go to the Accessories Library folder, you don't see a Polyline Accessories subfolder with a Footing 2 object? If not, then there's something different with your addon installation.
Hmooslechner wrote:
Or this functionality should be implemented part of GDL itself - in a simple way to be reachable for the scripter. Not as it is in the polyline-addon. Its way too complex for the scripter...

Keep it simple - for the user - not for Archicad-Programmers - smile..

In the meantime i play around with the existing solution and think of ways for using it in my GDLS. Now i took the Slab-GDLs and tried to make it as imply as possible to get the corner-points functioning for a simply block-command on each corner - and its not so complex. All other calculations for it have been done bevore like in sinceV6 old Polygone-code or in the one of SenecaDesignLLC. Its just a Question of getting more familiar with this.

It's no that hard. Like I said, it looks like the addon will populate one of the parameters with the current node coordinates of the associated polyline, so the hard part of adding and removing points from the polyline script gets taken care of, and just lets you code around that. Great. The segmentation issue can easily be fixed by analyzing how the coordinates get stored for arched segments and flag those segments in GDL. The lack of documentation is a problem here...

The one thing I've always liked about the accessories addon is that it proves that there can be a link between standard tool objects and GDL objects.

Anyway... I don't think I'll be spending too much time with this. Unless you develop GDL objects for a living or your company needs a specific kind of object for a very repetitive task, the only time worth spending with this is to know what can be done. Other than that, I believe is a waste of time as there are other tools out there that will help you get similar and faster results. There are 2 things that need to happen so that GDL remains current and useful:
1. it needs a longtime overdue creation/interaction overhaul, either in the way the editor works or by creating a node based interaction.
2. GDL needs to be included in the building materials automatic priority intersections. A proof that it can be done is the "special" case of interaction between doors and finish skins in composites.
A long time ago, the flexibility, intelligence and possibilities of GDL were a plus. I now believe it just holds AC back.

Best regards.
Hmooslechner
Moderator
I tried to find out how this addon works with the polygone-points and i number'd them.

https://www.youtube.com/watch?v=7aCxa8QW9dw&feature=youtu.be
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Barry Kelly
Moderator
sinceV6 wrote:
Pertti wrote:

So I tried in AC19 but didn´t work. The footing object´s subtype is slab accessory, not polyline accessory. The accessories add-on doesn't recognise any polyline subtype; only slab, wall, roof and zone are available.
I made a new object of polyline accessory subtype but no success.

Still missing something?


Hi.
So... when you go to Design->Design extras->Accessories do you see four types? Slab, roof, wall and polyline? Or when you select the object tool and open its settings, go to the Accessories Library folder, you don't see a Polyline Accessories subfolder with a Footing 2 object? If not, then there's something different with your addon installation.



I know this is an old post, but I have just come across this exact situation.
There may be other posts that have solved this already, but I don't need to keep looking.

I have the 'Footing 2' objects which is a polyline subtype.
But I had no way to use it.

Yes you have to add the command for 'Polyline Accessories' to your menu in the Work Environment.
It was not there by default in the standard WE (at least not in the AUS version).

Now I have a footing that can follow a polyline.
Now I can create new objects for cornices, gutter, mouldings, etc., if I want to.


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