IsLinetypeReference

Verifies that an existing linetype is from a reference file.

Syntax

rhinoscriptsyntax.IsLinetypeReference (name_or_id)

rhinoscript.linetype.IsLinetypeReference (name_or_id)

Parameters

name_or_id

Required.  String or Guid.  The name or identifier of an existing linetype.

Returns

Boolean

True or False indicating success or failure.

None

On error.

Example

import rhinoscriptsyntax as rs

name = rs.GetString("Linetype name")

if rs.IsLinetype(name):

    if rs.IsLinetypeReference(name):

        print "The linetype is a reference linetype."

    else:

        print "The linetype is not a reference linetype."

else:

    print "The linetype does not exist."

Also See

IsLinetype