NumberType Property


Indicates the revision number type of the revision numbering sequence.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022

Syntax

C#
public RevisionNumberType NumberType { get; }
Visual Basic
Public ReadOnly Property NumberType As RevisionNumberType
	Get
Visual C++
public:
property RevisionNumberType NumberType {
	RevisionNumberType get ();
}

Remarks

This property can be used to figure out if a revision numbering sequence is numeric or alphanumeric. The returned RevisionNumberType is either RevisionNumberType::Numeric or RevisionNumberType::Alphanumeric.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException This RevisionNumberingSequence doesn't own a valid revision settings for number type.

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 →