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

Returns an alternate UndoController object for ODA Software.

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.