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

Returns an alternate UndoController object for the ODA Platform.

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.