Transaction.SetName
Description:
Sets the transaction's name.
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.
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
)
-
StringnameA name for the transaction.
-
The name argument is an empty string.
-
A non-optional argument was null