Searches for a file using Rhino's search path. Rhino will look for a file in the following locations:
The current document's folder.
Folder's specified in Options dialog, File tab.
Rhino's System folders.
rhinoscriptsyntax.FindFile(filename)
rhinoscript.application.FindFile(filename)
filename |
Required. String. A valid filename. |
String |
A qualified path to the specified filename if successful. |
import rhinoscriptsyntax as rs
path = rs.FindFile("Rhino.exe")
print path