Click or drag to resize

LengthUnitIsKnownLengthUnit Method

Determines whether the provided value is a known unit system.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static bool IsKnownLengthUnit(
	UnitSystem unitSystem,
	out LengthUnit lengthUnit
)

Parameters

unitSystem
Type: RhinoUnitSystem
lengthUnit
Type: RhinoLengthUnit

Return Value

Type: Boolean
True when provided lengthUnit value is a valid known UnitSystem, False otherwise.
Remarks
See Also