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