I am experiencing an issue around events. You may be able to help me here.
I am trying to use Rhino as just modeling tool, and have GH to get all the info of the scene so I can save it later into DB through Server.
I am building everything around PYTHON and STICKY dictionary in GH env.
I have register some event handlers in order to maintain updated the info in the sticky dictionary. It was suggested in some other topic to have flags behind the events to control properly how these are working, and then to take actions when the application is in Idle status.
This, so far, is working fine.
My problem comes when I perform an action in all the geometric structure which has lets say 20K objects. Performance is really slow in the
event handling part, not in the Rhino.RhinoApp.Idle process which has all the logic.
I have unregistered the event handlers just to see the problem, but even if I verify the ‘flags logic’ is not being running, therefore the idle process will take no actions, still moving all the geometry or deleting it is too slow. We are talking here about 5 minutes, when performing those actions without subscriving event handlers at the beginning can take 1 or 2 seconds.
Any idea what could be going on?