IsLinetypeReference

Verifies that an existing linetype is from a reference file.

Syntax

Rhino.IsLinetypeReference (strLinetype)

Parameters

strLinetype

Required.  String.  The name of an existing linetype.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

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

Also See

IsLinetype