RhinoCommon API
File3dmReadWithLog Method (String, String) |
Read a 3dm file from a specified location and log any archive
reading errors.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
public static File3dm ReadWithLog( string path, out string errorLog )
Public Shared Function ReadWithLog ( path As String, <OutAttribute> ByRef errorLog As String ) As File3dm
Parameters
- path
- Type: SystemString
The file to read. - errorLog
- Type: SystemString
Any archive reading errors are logged here.
Return Value
Type: File3dmNew File3dm on success, null on error.
| Exception | Condition |
|---|---|
| FileNotFoundException | If path does not exist. |