CadUndoOff
Enters bulk-load mode: turns off undo recording and drops the current history.
void CadUndoOff (
YuHandle hDwg
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate.
Return Value
None.
Remarks
loading a host's own project format via thousands of CadAdd*) so those programmatic changes don't each build an undo step. Between Off and On, no undo history is recorded (and Off drops the existing history); On restores normal recording. A host that keeps its own undo can leave undo Off for the whole session.