Issues w/ undo and duplicated geometry

rhinocommon

#1

Hi All,
I am developing a plugin that is monitoring changes in objects and generating automatically geometry starting from this monitored object. There I have an issue with undo/redo, if I move a curve and then undo the move my geometry is duplicated. Is there something I am doing wrong with this?

Alberto


(Dale Fugier) #2

Hi Alberto,

You have not provided enough information for us to help. Perhaps you can provide the source code to a sample plug-in project that isn’t working for you?

– Dale


#3

Hi Dale,
thanks a lot for the answer. Unfortunately the plugin is too big, will work to nail it down and try to pin point an example. In the meantime I added a custom undo handler to work the problem around.

Thanks again!
Alberto