File3dm.ReadWithLog Method (String, String)

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)
Syntax
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: File3dm
New File3dm on success, null on error.
Exceptions
ExceptionCondition
FileNotFoundExceptionIf path does not exist.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also