2026 Method
Changes 0
M

Transaction.SetName

Description:
Sets the transaction's name.
Remarks:
A transaction needs a name before it can be started, i.e. before one of the 'Start' method is invoked for this transaction object. The name will later appear in the Undo menu in Revit after a transaction is successfully committed.

Another ways of setting the name is either during construction or during the Start(String) method.

public void SetName(
	string name
)
  • String
    name
    A name for the transaction.