Message 1 of 5
Disabling UNDO for the BREAK command...
Not applicable
08-17-2005
02:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys!
Please help me for I am really stuck this time 😞
At some point in my program I have to break a PLINE into two parts, and I don't want the user to be able to undo that. so I'm calling the disableUndoRecording() of both AcDbDatabase and AcDbObject but still, the undo mechanism works by only erasing the second part of the splitted PLINE. For as you know, when you break an entity, the first part has the same handle whereas the second part seems to be a newly created entity. How can I prevent this break from being undone??? not to mention, I don't want to lose the undo mechanism completely. If there was a method or something which could erase the current undo information for a specified object, it'd be great.
Thanks in advance guys...
Regards, Omid Manikhi
Please help me for I am really stuck this time 😞
At some point in my program I have to break a PLINE into two parts, and I don't want the user to be able to undo that. so I'm calling the disableUndoRecording() of both AcDbDatabase and AcDbObject but still, the undo mechanism works by only erasing the second part of the splitted PLINE. For as you know, when you break an entity, the first part has the same handle whereas the second part seems to be a newly created entity. How can I prevent this break from being undone??? not to mention, I don't want to lose the undo mechanism completely. If there was a method or something which could erase the current undo information for a specified object, it'd be great.
Thanks in advance guys...
Regards, Omid Manikhi