KitchenDraw SDK 2
Show / Hide Table of Contents

Method Lock

Lock()

Disables the automatic undo state saving facility.

Declaration
public void Lock()
Remarks

Since many KitchenDraw menu items save undo states implictly, it can be useful in a plugin function to call this method before calling the ExecuteMenuItem method several times. This is because each one of these calls causes the saving of a scene undo state. Saving an undo state manually and then locking the undo state stack allows to save multiple changes in a single undo record.

In this article
Back to top Generated by DocFX