Verifies that an existing linetype is from a reference file.
Rhino.IsLinetypeReference (strLinetype)
strLinetype |
Required. String. The name of an existing linetype. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Dim strLinetype
strLinetype = Rhino.GetString("Linetype name")
If Rhino.IsLinetype(strLinetype) Then
If Rhino.IsLinetypeReference(strLinetype) Then
Rhino.Print "The linetype is a reference linetype."
Else
Rhino.Print "The linetype is not a reference linetype."
End If
Else
Rhino.Print "The linetype does not exist."
End If