RhinoCommon API
File3dmReadWithLog Method (String, File3dmTableTypeFilter, File3dmObjectTypeFilter, String) |
Reads a 3dm file from a specified location.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public static File3dm ReadWithLog( string path, File3dmTableTypeFilter tableTypeFilterFilter, File3dmObjectTypeFilter objectTypeFilter, out string errorLog )
Public Shared Function ReadWithLog ( path As String, tableTypeFilterFilter As File3dmTableTypeFilter, objectTypeFilter As File3dmObjectTypeFilter, <OutAttribute> ByRef errorLog As String ) As File3dm
Parameters
- path
- Type: SystemString
The file to read. - tableTypeFilterFilter
- Type: Rhino.FileIOFile3dmTableTypeFilter
If tableTypeFilterFilter is None, then everything in the archive is read. Otherwise tableTypeFilterFilter identifies what tables should be read. - objectTypeFilter
- Type: Rhino.FileIOFile3dmObjectTypeFilter
If objectTypeFilter is not None, then is a filter made by bitwise oring values to select which types of objects will be read from the model object table. - 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. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14