I’m managing a plug-in that was developed for Rhino 4.0. It has code that modifies a document in a number of event watchers. I’ve noticed that in the Rhino 5 SDK, there are numerous comments stating not to do so, and to instead use an CRhinoIsIdle event class instead. This class, however, does not exist for Rhino 4, and I’d like to maintain backward compatibility.
What are the implications of modifying a document in the OnEndOpenDocument event watcher in Rhino 4 and 5? Is there a better way to modify the document from this event while maintaining backward compatibility with Rhino 4?