TemplateFile

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

Syntax

Rhino.TemplateFile ([strFilename])

Parameters

strFilename

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

Returns

String

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

String

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

Example

Dim strFolder, strFilename

strFolder = Rhino.TemplateFolder

strFilename = strFolder & "\Millimeters.3dm"

Rhino.TemplateFile strFilename

Also See

TemplateFolder