TemplateFolder

Returns or sets the location of Rhino's template files.

Syntax

rhinoscriptsyntax.TemplateFolder( folder=None )

rhinoscript.application.TemplateFolder( folder=None )

Parameters

folder

Optional.  String.  The location of Rhino's template files. Note, the location, or folder, must exist.

Returns

String

If folder is not specified, then the current template file folder if successful.

String

If folder is specified, then the previous template file folder if successful.

Example

import rhinoscriptsyntax as rs

folder = rs.TemplateFolder()

filename = folder + "\\Millimeters.3dm"

rs.TemplateFile(filename)

Also See

TemplateFile