RevisionId Property


The Revision associated with this RevisionCloud.

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

Syntax

C#
public ElementId RevisionId { get; set; }
Visual Basic
Public Property RevisionId As ElementId
	Get
	Set
Visual C++
public:
property ElementId^ RevisionId {
	ElementId^ get ();
	void set (ElementId^ value);
}

Remarks

This property cannot be set to a Revision that has already been issued. If this RevisionCloud is already associated with a Revision that has been issued then this property cannot be changed.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: revisionId is not a valid Revision. -or- When setting this property: This operation cannot be performed because revisionId is an issued Revision.
Autodesk.Revit.ExceptionsArgumentNullException When setting this property: A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException When setting this property: This operation cannot be performed on a RevisionCloud associated with a Revision that has been issued.

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 →