Hi,
I have a case where I store specific 3D coordinates of the geometry in its user strings. When the geometry changes, I apply the transformation matrix in my code to update these coordinates. However, if someone modifies the object while the plugin is off, the stored 3D coordinates are not updated, causing them to no longer match the actual geometry. What could be possible solution for such case? Any ideas?
Hi,
onpluginload check all the cogs and update them accordingly.
If anyone has a prettier solution I am curious to hear your ideas,
–
Alternatively more out of the box :
Summary
-We made a launcher that does a bunch of stuff among validating licenses, starting a local database etc, while doing so It opens Rhino and loads the plugin, so by having a launcher we do not encounter the issue and can just track object changed event. But that is a solution that works with my workflow, not sure about yours.
Hope this sparks some ideas,
Farouk
Hi,
This is not an option unfortunately as I don;t know what was the transformations applied when plugin was not active and I need to be precise. My best pick for now is to lock the file for the time plugin is not active.