TransactionEvents.OnCommit Event

Parent Object: TransactionEvents

Description

The OnCommit event notifies the client when a transaction has been committed.

Remarks

A transaction is defined as an operation that the end-user can undo. When a transaction has been committed it means that the operation has been completed and is now on the transaction stack and can be undone. From Inventor 2009, this event no longer supports kEventCanceled.

Syntax

TransactionEvents.OnCommit( TransactionObject As Transaction, Context As NameValueMap, BeforeOrAfter As EventTimingEnum, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
TransactionObject Transaction The Transaction object that is being committed.
Context NameValueMap Input object that can be used to determine the context of why the event fired. No context information is provided for this event.
BeforeOrAfter EventTimingEnum Input indicating when the event is being fired. Notification is sent before and after the transaction is committed.
HandlingCode HandlingCodeEnum Output that indicates how you are handling the event. This argument is ignored for this event.

Version

Introduced in version 4