IsDimension

Verifies an object is a dimension object. RhinoScript considers the following objects to be dimensions:

Syntax

Rhino.IsDimension (strObject)

Parameters

strObject

Required. String. The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Null

On error.

Example

Dim strObject

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

If Rhino.IsDimension(strObject) Then

Rhino.Print "The object is a dimension."

Else

Rhino.Print "The object is not a dimension."

End If

Also See

IsAlignedDimension

IsAngularDimension

IsDiameterDimension

IsLeader

IsLinearDimension

IsOrdinateDimension

IsRadialDimension