API Reference > OdDb Classes > OdDbHostAppServices Class > OdDbHostAppServices Methods > OdDbHostAppServices::newUndoController Method
OdDbHostAppServices::newUndoController Method
Syntax
C++
virtual OdDbUndoControllerPtr newUndoController();

Returns an alternate UndoController object.

The default implementation of this function always returns a null SmartPointer. 

Each database requires at most 2 undo controllers (for undo and redo).

Copyright © 2002–2020. Open Design Alliance. All rights reserved.