lahos
(Lahos)
May 29, 2023, 9:17pm
1
Hi,
I try to control propagation of a c# component outputs.
Is there a way to tell Grasshopper to not propagate outputs even if inputs have changed ?
I messed a lot with Clear, ClearData, Phase, AfterRunScript… No luck. Even with no data, outputs trigger downstream components.
The only workaround I have is to change the value of another component B which is not attached to the main component A.
Maybe it is not feasable with a c# script. In that case, could you point me to the right direction ?
Regards.
Hi,
There seems to be a (rather complex) way but I don’t think it’s doable in a C# script component. It would require to build a plugin with a custom component.
See this if it helps.
Hi everyone!
So, the high-level questions is: is there any way to select which outputs of a component trigger an update?
Example: I have a custom-made component that takes an input mutableIn whichever, and outputs mutableOut and immutableOut. Given any change in the output of mutableIn, I want the output of mutableOut to change (and trigger new solver instances down the graph), but the value of immutableOut to remain the same and not trigger solve instances down its graph.
Under this assumpt…
Interestingly, I just published a tutorial about this today!
3 Likes
lahos
(Lahos)
June 3, 2023, 3:49am
4
Hi,
I think Jose Luis has nailed it event if not doable in a c# script as you mentioned.
Thanks.
lahos
(Lahos)
June 3, 2023, 4:06am
5
Hi,
Nice tutorial.
It is exactly that kind of info which is hard to find with Rhino.
A bit disappointing ExpireDownStreamObjects it is not accessible in a c# script.
Keep the good work !
Regards