Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Find and register the component that caused solution

$
0
0

I run a rather complex script with several dynamic inputs (dynamic pipelines, explicit conversion from guid to geometry, layer table lookup, etc).

Sometimes I find it a bit tricky to figure out what part of the script was part of/updated in the last solution.

I have looked at the GH_DocumentObject.SolutionExpired event, but not really sure whether I need to recursively subscribe to the event of all objects on the canvas?

Alternatively there is there is the IGH_DocumentObject.SolutionExpiredEventHandler, but this one seem to only provide me with information about the document the solution is related to.

I’m relatively new to event handling, so forgive me if the solution is right in front of me. But how would you best find out what components caused the last solution?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles