Returns or sets Rhino's default template file. The default template file is the template file used when Rhino starts.
rhinoscriptsyntax.TemplateFile( filename=None )
rhinoscript.application.TemplateFile( filename=None )
filename |
Optional. String. The name of the new default template file. Note, the template file must exist. |
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. |
import rhinoscriptsyntax as rs
folder = rs.TemplateFolder()
filename = folder + "\\Millimeters.3dm"
rs.TemplateFile(filename)