IsRecordable Property


Indicates whether executions of the service is recorded in documents or not.

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public bool IsRecordable { get; set; }
Visual Basic
Public Property IsRecordable As Boolean
	Get
	Set
Visual C++
public:
property bool IsRecordable {
	bool get ();
	void set (bool value);
}

Remarks

When a recordable service is executed in a document, a record about the executed server (or servers) is stored in the document's history. This allows active servers to be synchronized next time a saved document is opened in Revit.

Executions of a recordable service in a document must happen inside a transaction.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: A service that doens't support activation should not be recordable.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →