Parametric design
About Rhino & Grasshopper and PARAM-O.
SOLVED!

Synchronize Bug?

mawadhi
Beginner
Hello,

I noticed in Grasshopper that when I disable inserted DESIGN components or set Synchronize to FALSE, ARCHICAD still displays the inserted components even when they are no longer displayed in Rhino. I tested this with WALL, WINDOW POINT, and OBJECT components. The only way to delete them in ARCHICAD is if I completely remove the Grasshopper components. It seems ARCHICAD is still using these Grasshopper components even when they are disabled.

I want anything that I disable or de-synhronize in Grasshopper to be deleted in ARCHICAD (just as in Rhino), without needing to delete Grasshopper components. Is this possible? I wonder if this is a bug.

Thanks!
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution
JSN
Enthusiast
True. I think this not a bug, but a feature, that your created components are just "paused" and still persist in Archicad until you turn Sync on again.

However, it is also true, that this can be very annoying and painful when you want to get rid of maaany generated elements and therefore I sent the following advice to the developers:

By the way it would be maybe also interesting to have a built in possibility to “reset” all your generated components in AC to get rid of them faster – right now afaik this can only be achieved if you overwrite your input with a null value – any concept thoughts on that?

So, the good news now for all who want to have such a "Reset" function is that you can built it on your own as a workaround in Grasshopper. You just need a Stream Filter with a Boolean Toggle which has two Inputs, the first one is you referenced Geometry and the second one is empty ... so you don't have to delete your GH Components to get rid of the generated elements because they will be "overwritten" with null and vanish automatically. It is not the most elegant solution but it works faster than manually deleting you stuff all the time.

View solution in original post

Solution
mawadhi
Beginner
JSN wrote:
True. I think this not a bug, but a feature, that your created components are just "paused" and still persist in Archicad until you turn Sync on again.

However, it is also true, that this can be very annoying and painful when you want to get rid of maaany generated elements and therefore I sent the following advice to the developers:

By the way it would be maybe also interesting to have a built in possibility to “reset” all your generated components in AC to get rid of them faster – right now afaik this can only be achieved if you overwrite your input with a null value – any concept thoughts on that?

So, the good news now for all who want to have such a "Reset" function is that you can built it on your own as a workaround in Grasshopper. You just need a Stream Filter with a Boolean Toggle which has two Inputs, the first one is you referenced Geometry and the second one is empty ... so you don't have to delete your GH Components to get rid of the generated elements because they will be "overwritten" with null and vanish automatically. It is not the most elegant solution but it works faster than manually deleting you stuff all the time.

Thank you JSN! Your Stream Filter idea did exactly what I wanted.

Best regards.

View solution in original post

8 REPLIES 8
Laszlo Nagy
Community Admin
Community Admin
I don't think this is a bug. If you disable a Grasshopper Component, it will not be displayed in Rhino, true. But that does not affect the ARCHICAD side.
The first (uppermost) Input of ARCHICAD Design Components in Grasshopper is the 'Synchronize" Input. Place a "Boolean Toggle" Component, set it to "False" and connect that to this Input. This way you can control whether changes in Grasshopper are sent to ARCHICAD or not. (You do not have to Break Connection to Grasshopper in ARCHICAD.) An example for the "Boolean Toggle" Component can be seen in this clip:



Then, in ARCHICAD, you can Unlock Grasshopper-created Elements and delete them.
The Elements will not be regenerated until you turn Synchronization ON again in Grasshopper for the ARCHICAD Design Component.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Solution
JSN
Enthusiast
True. I think this not a bug, but a feature, that your created components are just "paused" and still persist in Archicad until you turn Sync on again.

However, it is also true, that this can be very annoying and painful when you want to get rid of maaany generated elements and therefore I sent the following advice to the developers:

By the way it would be maybe also interesting to have a built in possibility to “reset” all your generated components in AC to get rid of them faster – right now afaik this can only be achieved if you overwrite your input with a null value – any concept thoughts on that?

So, the good news now for all who want to have such a "Reset" function is that you can built it on your own as a workaround in Grasshopper. You just need a Stream Filter with a Boolean Toggle which has two Inputs, the first one is you referenced Geometry and the second one is empty ... so you don't have to delete your GH Components to get rid of the generated elements because they will be "overwritten" with null and vanish automatically. It is not the most elegant solution but it works faster than manually deleting you stuff all the time.
Laszlo Nagy
Community Admin
Community Admin
Could you post a screenshot of a simple Grasshopper Network example to show how this Stream Filter would work?
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
JSN
Enthusiast
The principle is very simple, but it does the job - especially useful if you have created countless geometries.

True - AC Data is up to date



False - AC Data will be removed

Laszlo Nagy
Community Admin
Community Admin
I see, thank you.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Solution
mawadhi
Beginner
JSN wrote:
True. I think this not a bug, but a feature, that your created components are just "paused" and still persist in Archicad until you turn Sync on again.

However, it is also true, that this can be very annoying and painful when you want to get rid of maaany generated elements and therefore I sent the following advice to the developers:

By the way it would be maybe also interesting to have a built in possibility to “reset” all your generated components in AC to get rid of them faster – right now afaik this can only be achieved if you overwrite your input with a null value – any concept thoughts on that?

So, the good news now for all who want to have such a "Reset" function is that you can built it on your own as a workaround in Grasshopper. You just need a Stream Filter with a Boolean Toggle which has two Inputs, the first one is you referenced Geometry and the second one is empty ... so you don't have to delete your GH Components to get rid of the generated elements because they will be "overwritten" with null and vanish automatically. It is not the most elegant solution but it works faster than manually deleting you stuff all the time.

Thank you JSN! Your Stream Filter idea did exactly what I wanted.

Best regards.
0scar
Newcomer
I think the stream filter is a good one, JSN. Ultimately I think it would be great to have more control over the data that is loaded into AC from GH. So yes, the snyc pause is good as it allows to filter the snycing process more precisely other than breaking the connection all together (meaning that all the elements are 'frozen' to the last state). For certain use cases it is sensible to make objects permanent in AC, so that they are no longer altered by GH at all. No accidental deleting or modification, and yes no parametric change either (but sometimes it would be good to have just that). ('Baking' as in the GH -> Rhino pipeline) Also the 'locking' process of the Live-Connection is a bit buggy. Meaning that GH locks elements even though I have made them editable in AC, so that they turn up grey, and I have to recalculate the whole GH definition.
Maybe the optimizing the transfer of objects would make for a more seamless integration of the GH workflow into AC, what do you think?
WIN 10 Pro // AC 23 3003 // Xeon E3-1505M v6 // 32GB RAM // Intel HD Graphics P630 // NVidia Quadro M2200

Very nice. If someone could make an GH component out of this, that would be fabolous!

 

The advertised two way connection between Grasshopper and Archicad (The live, associative and bi-directional nature of the connection enables users to build versatile workflows and utilize the connection in multiple scenarios) is in truth a roundabout going AC - GH - AC. 

This connection will become a really powerful tool as soon the script writes itself. E.g. in AC you add a window to a GH generated wall and that window will then show up in the GH script for further optimisation/distribution. Let's hope the Mcneel/AC cooperation will go that deep.