GetDimensionValue Method


Gets the value of the fabrication dimension, returns value in Revit internal units.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2016

Syntax

C#
public double GetDimensionValue(
	FabricationDimensionDefinition dim
)
Visual Basic
Public Function GetDimensionValue ( _
	dim As FabricationDimensionDefinition _
) As Double
Visual C++
public:
double GetDimensionValue(
	FabricationDimensionDefinition^ dim
)

Parameters

dim
Type: Autodesk.Revit.DB FabricationDimensionDefinition
The fabrication dimension.

Return Value

The dimension value.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

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 →