DimensionValue

Returns the value of a dimension object.

Syntax

Rhino.DimensionValue (strObject)

Parameters

strObject

Required. String. The object's identifier.

Returns

Number

The value of the dimension successful.

Null

On error.

Example

Dim strObject

strObject = Rhino.GetObject("Select a dimension")

If Rhino.IsDimension(strObject) Then

Rhino.Print Rhino.DimensionValue(strObject)

End If

Also See

DimensionText

DimensionUserText

IsDimension