LinetypeNames

Returns the names of all linetypes in the document.

Syntax

rhinoscriptsyntax.LinetypeNames(sort=False)

rhinoscript.linetype.LinetypeNames(sort=False)

Parameters

sort

Optional.  Boolean.  Return a sorted list of linetype names. The default is not to return a sorted list (False).

Returns

List

A list of linetype names if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

names = rs.LinetypeNames()

if names:

    for name in names: print name

Also See

LinetypeCount