This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control undo/redo capabilities for edit sketch modifications.
Name | Description | |
---|---|---|
Finish | Finishes the operation and puts it into the operation stack. Call this after the sketch has been modified. | |
MenuString | The text that appears in the undo menu choice. | |
Start | Starts the operation, caching the existing sketch. Call this before modifying the sketch. |
CoClasses and Classes | Description |
---|---|
SketchOperation | Provides undo/redo capabilities for edit sketch modifications. |
ISketchOperation2 was added to provide a new implementation for the Finish method. The new implementation allows tools to give more information about what they modified; typically, the edited sketch point is passed back to clients listening to editor events (IEditEvents2).
For example, if a point is deleted from an edit sketch and ISketchOperation2::Finish is used to complete the operation, the deleted point is passed to clients responding to IEditEvents2::OnVertexDeleted.
IEditor Interface | IEditAttributeProperties Interface | IEnvelope Interface | IOperation Interface