Click or drag to resize

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)
Since: 6.0
Syntax
public static string FindFile(
	RhinoDoc doc,
	string fullPathToFile,
	bool unpackFromBitmapTableIfNecessary
)

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: String
The found file.
See Also