ApplicationFrame Global Function CATAfrNewTransaction
All Frameworks Class Hierarchy This Framework Indexes
ApplicationFrame Global Function CATAfrNewTransaction
| CATAfrNewTransaction( | | iEditor, |
| const | iId, |
| | iForce, |
| | oTransactionIndex) |
-
Creates a new transaction
Role: This method creates a new transaction in the UI Undo/Redo mechanism.
- Parameters:
-
- iEditor
- The editor where the transaction will be created.
- iId
- Any string, used for debugging purpose.
- iForce
- If FALSE no transaction will be created if the current one is empty.
- oTransactionIndex
- The index of the new transaction (from 1 to ...)
- Returns:
-
- S_OK
- The Undo/Redo mechanism has been freezed
- E_FAIL
- The iEditor parameter is NULL
This object is included in the file: CATAfrUndoRedoServices.h
Copyright © 2003, Dassault Systèmes. All rights reserved.