Hi,
I want to know which components are re-evaluated when any input in the GH script changes, which includes all the native/plug-in components in the script.
I believe override AfterSolveInstance() works for plugin dev work; I couldn’t find any event to subscribe to for any given instance of the GH_Component.
Is there a way to find that out and how to go about it?
not sure if I understand your question correctly:
you want to get a list of “downstream objects” ? - in terms of above Method ?
EDIT:
never did it but for me it looks like:
to get the objects you need to recursive browse the
→ Output
and from those outputs check the IGH_Param.Recipients.
do it in a recursively, use a hashset of all components added also check the level / depth of the recursion to not go beyond for example 300… throw an exeption if this happes.
copy paste above info into chat gpt, tell that is a grasshopper rhino development in c# …
ask for help to implement it.
the results are very amazing / frightening.