KitchenDraw SDK 2
Show / Hide Table of Contents

Method Reset

Reset()

Empties the scene undo state stack.

Declaration
public void Reset()
Remarks

This grays the "Edit|Undo" menu item until an operation that can be undone is carried out.

This function is useful while developing a plugin function which modifies the scene, if the scene was changed in a way that can't be undone and would leave a scene in an unconsistent state. It can be more prudent to prevent the undo of the action resetting the undo state stack at the end of the plugin function.

In this article
Back to top Generated by DocFX