GetMinimum Method


Calculates the minimum value for all primitives

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

Syntax

C#
public double GetMinimum(
	int resultIndex,
	bool rawValue
)
Visual Basic
Public Function GetMinimum ( _
	resultIndex As Integer, _
	rawValue As Boolean _
) As Double
Visual C++
public:
double GetMinimum(
	int resultIndex, 
	bool rawValue
)

Parameters

resultIndex
Type: SystemInt32
Index of result schema
rawValue
Type: SystemBoolean
If true returned value is NOT multiplied by the current result's units multiplier, otherwise it IS

Return Value

Resulting minimum value

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInapplicableDataException Thrown when current measurement is >= the number of measurements for at least one primitive

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 →