IsDimStyle

Verifies the existence of a dimension style in the document.

Syntax

Rhino.IsDimStyle (strDimStyle)

Parameters

strDimStyle

Required.  String.  The name of a dimension style to test.

Returns

True

If successful.

False

If not successful.

Null

On error.

Example

Dim strDimStyle

strDimStyle = Rhino.GetString("Dimension style to test")

If Rhino.IsDimStyle(strDimStyle) Then

If Rhino.IsDimStyleReference(strDimStyle) Then

Rhino.Print "The dimension style is from a reference file."

Else

Rhino.Print "The dimension style is not from a reference file."

End If

Else

Rhino.Print "The dimension style does not exist."

End If

Also See

IsDimStyleReference