GetFlags Method


Returns flags for the given measurement.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public int GetFlags(
	int measurement
)
Visual Basic
Public Function GetFlags ( _
	measurement As Integer _
) As Integer
Visual C++
public:
int GetFlags(
	int measurement
)

Parameters

measurement
Type: System Int32
Measurement number for which flags are returned.

Return Value

Flags value for the measurement.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The given value for measurement is negative.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →