Skip to content

Utilities.FindFile (RhinoDoc, String, Boolean)

Public Class

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: Rhino.RhinoDoc
Document to use for locating .3dm file’s folder.

fullPathToFile

Type:System.String
The file to be found.

unpackFromBitmapTableIfNecessary

Type:System.Boolean
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.