TemplateFile

Returns or sets Rhino's default template file. The default template file is the template file used when Rhino starts.

Syntax

rhinoscriptsyntax.TemplateFile( filename=None )

rhinoscript.application.TemplateFile( filename=None )

Parameters

filename

Optional.  String.  The name of the new default template file. Note, the template file must exist.

Returns

String

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

String

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

Example

import rhinoscriptsyntax as rs

folder = rs.TemplateFolder()

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

rs.TemplateFile(filename)

Also See

TemplateFolder