Removing Relay triggers re-calculation

Hi @DavidRutten,

Is this done intentionally or is it a how things are?

I saw you implemented one of my suggestions to keep wires connected when deleting relays, but now it triggers recalculation. This is very bad in huge gh-algorithms.

Sadly it’s the way things are. Any changes to the network expire those objects affected. In order to avoid that I’d have to cache all existing volatile states, then make a change, then undo the state flags on all expired objects and copy back caches. It’s hard enough doing this for vanilla parameters, but I can’t do it for custom objects which will erase some class-level variable I know nothing about on expire.

1 Like

Yeah, I thought so.

No problem, I’ll extend my ghpython script somehow to keep it off (false) upon start.