FileSettings.FindFile Method

FileSettingsFindFile Method

Searches for a file using Rhino's search imagePath. Rhino will look for a file in the following locations: 1. The current document's folder. 2. Folder's specified in Options dialog, File tab. 3. Rhino's System folders.

Namespace:  Rhino.ApplicationSettings
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static string FindFile(
	string fileName
)
Public Shared Function FindFile ( 
	fileName As String
) As String

Parameters

fileName
Type: SystemString
short file name to search for.

Return Value

Type: String
full imagePath on success; null on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also