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.
Parametric design
About Rhino & Grasshopper and PARAM-O.

Performance - GH File Big files when connecting more AC elements

Anonymous
Not applicable
Hi,
I'm trying to scale up some AC Conncection based workflows. I have noticed that when I reference lots of elements, for example, 300 zones GH files became very heavy. Something around 50 MB. I totally wouldn't mind but it turned out that its influence GH canvas refresh rate very much. So even simple operation like connecting one node even when solver is blocked take a while to process. This makes even minor changes almost impossible. One way I found is to reference fewer objects... but referencing takes a while as well.

I assume that AC Connection loads full data scope at once and also BREPS stuff in meanwhile for preview in one go. Is there any way to reduce this lag by reducing amounts of data read or turning off less useful stuff - like previews?
9 REPLIES 9
leceta
Expert
Also in my experience, when referencing a few objects (last time were just 11 walls I guess) from Archicad to Grasshopper, Rhino/GH becomes desperately slow.
Anonymous
Not applicable
In case with 300+ elements it's almost unsualble. Since to concet to empty componets with blocked solver you need to wait around 10sec ...


The other thing it's crashing when accecing composite structures..
leceta
Expert
yeah, seems that processes out of the scope of grasshopper´s "solver blocker" are happening. I have noticed similar behaviors also with geometry gym
Anonymous
Not applicable
That's true. Usually, it's not good to work with big files. I some cases blocking helps.. but not in this one
I with my question I meant how to prevent so radical increase of file size with AC - GH Connection. I assume that not all data is needed at the same moment. I thought that maybe parameters increases file size dramatically, but no. I assume that it is more related to a preview of elements but I'm not sure. I have tested Doors with different setup - with additional elements or plain and simple there is no difference in GH file size. Even changing object to more complex windows doesn't influence file size.

I got to the point that Composite component causes a crash. So I cant pick materials and generate geometry.
leceta
Expert
definitely, the plugin is handling events even when grasshopper solver is blocked.

apparently, it handles components selection events, and checks if selected components has referenced geometry.

I passed a bunch of referenced wall objects to a generic data component. then, if I select this "generic data" component, in archicad side, the referenced wall that the "generic data" components contains are also selected. This should mean that grasshopper plugin is watching all the time (well at least all the time that connection is active) what is contained in any grasshopper component.

I think that it could be nice to be able to stop the event handling when grasshopper solver is blocked, even if connection plugin is running on Archicad side.

of course, all this is based on my observations, and just guessing. It would be nice to listen the opinion of developers. The fact is that the plugin performance is quite poor, maybe because this event handling behaviour (of course, in case that my interpretation are right)

I experimented recently severe performance issues because of a plugin (bullant) being event handling every time a geometry was created in Rhino. Even when i was not using the plugin.
Daniel Kovacs
Graphisoft Alumni
Graphisoft Alumni
Hello kzaremba,

Can you send me the gh file (and maybe a pln as well if necessary) so that I can reproduce this? I want to see what causes it, and what can be done about this in the future.

If you can, please also send me the specs of your machine (use dxDiag), and some videos about the slowness and the crash (with the composites).

Thanks,
Daniel Alexander Kovacs

Professional Services Consultant

GRAPHISOFT



For Troubleshooting and useful Tips & Tricks visit
Anonymous
Not applicable
Sure,
I have prepared a file with an isolated problem. Around 200 zones and 200 doors.

When you I'm trying to add new components already refresh rate is quite poor. However, profiler doesn't indicate so big lags. This also happened when the solver is blocked. So as far as I understand components shouldn't work. GH file is 14 megs.

Thanks for help.
Anonymous
Not applicable
Is there any update on this topic? I am facing similar issues, even if model is not super complex.
Daniel Kovacs
Graphisoft Alumni
Graphisoft Alumni
Hi,

We investigated what causes this and found the source of the slow-down.

What causes this exact slow-down is that the default way we generate the preview geometry for the elements stored in our Grasshopper components, is that they are generated even when they are hidden in the Rhino preview (because that geometry is used for other processes as well).

We are looking into whether we can find a way in the future to generate this geometry less frequently - thus speeding it up. It is on our to-do list as #252919.

In the meantime we are about to release a new update for the Connection tool that will be compatible with AC22 4023. It should include several speed improvements that should make the whole experience a bit more smooth.

Regards,
Daniel Alexander Kovacs

Professional Services Consultant

GRAPHISOFT



For Troubleshooting and useful Tips & Tricks visit