Transaction Object
Description
The Transaction object that stands for a single transaction. See the article in the overviews section.
Methods
| Abort |
Method that aborts this transaction. This method will fail if this transaction is not the current transaction. |
| End |
Method that ends this transaction. This method will fail if this transaction is not the current transaction. |
| IdentifyForDocumentOpen |
Identify the document open transaction. This action should precede the end of document open transaction. |
| SuppressChangeNotifications |
Method that sets whether the changes notifications within this transaction should be suppressed or not. |
Properties
| Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
| CheckPoints |
Gets the enumeration of all of the check points that may be present in this transaction. |
| ChildTransactions |
Gets the enumeration of all of the child transactions that this transaction may contain. |
| DisplayName |
Gets the display name of this transaction. |
| Document |
Gets the affected by this transaction. |
| HasParentTransaction |
Gets the Boolean flag indicating if this transaction is a child of another transaction. |
| Id |
Gets the unique identifier for this transaction. |
| MergeWithPrevious |
Gets and sets whether to merge this transaction with the previously committed transaction. |
| Parent |
Property that returns the parent object from whom this object can logically be reached. |
| ParentTransaction |
Property that returns the parent transaction, if one exists; else returns a NULL pointer. |
| State |
Property that returns a TransactionStateEnum that describes the current state of the transaction. |
| Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
CheckPoint.ContainingTransaction,
Transaction.ParentTransaction,
TransactionManager.CurrentTransaction,
TransactionManager.StartTransaction,
TransactionManager.StartTransactionForDocumentOpen,
TransactionsEnumerator.Item
Samples
| Using Inventor's error dialog |
Demonstrates using Inventor's error dialog. |
| Sketch Lines |
This sample demonstrates creating lines. It uses all of the various methods to create lines, both singly and as rectangles. |
Version
Introduced in version 4