RhinoCommon API
UtilitiesFindFile Method (RhinoDoc, String, Boolean) |
Finds a file and also handles network shares.
Remarks
This is a replacement for CRhinoFileUtilities::FindFile().
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
public static string FindFile( RhinoDoc doc, string fullPathToFile, bool unpackFromBitmapTableIfNecessary )
Public Shared Function FindFile ( doc As RhinoDoc, fullPathToFile As String, unpackFromBitmapTableIfNecessary As Boolean ) As String
Parameters
- doc
- Type: RhinoRhinoDoc
Document to use for locating .3dm file's folder. - fullPathToFile
- Type: SystemString
The file to be found. - unpackFromBitmapTableIfNecessary
- Type: SystemBoolean
True to seasch for the file in the bitmap table and unpack it into the temp folder if not found in the initial search.
Return Value
Type: StringThe found file.