Verifies the existence of a dimension style in the document.
Rhino.IsDimStyle (strDimStyle)
strDimStyle |
Required. String. The name of a dimension style to test. |
True |
If successful. |
False |
If not successful. |
Null |
On error. |
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