# File3dm class

Namespace: [Rhino.FileIO](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.fileio.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class File3dm : IDisposable
```

Represents a 3dm file, which is stored using the OpenNURBS file standard.

The 3dm format is the main Rhinoceros storage format.

Visit http://www.opennurbs.com/ for more details.

## Constructors

- [File3dm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/ctor.md): Initializes a new instance of a 3dm file.

## Finalizer

- [~File3dm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [AllDimStyles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/alldimstyles.md): Dimension Styles in this file.
- [AllGroups](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allgroups.md): Groups in this file.
- [AllHatchPatterns](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allhatchpatterns.md): Hatch patterns in this file.
- [AllInstanceDefinitions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allinstancedefinitions.md): Instance definitions in this file
- [AllLayers](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/alllayers.md): Layers in this file.
- [AllLinetypes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/alllinetypes.md): Linetypes in this file.
- [AllMaterials](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allmaterials.md): Materials in this file.
- [AllNamedConstructionPlanes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allnamedconstructionplanes.md): Named construction planes in this file.
- [AllNamedViews](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allnamedviews.md): Named views in this file.
- [AllViews](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/allviews.md): Views that represent the RhinoViews which are displayed when Rhino loads this file.
- [ApplicationDetails](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/applicationdetails.md): Gets or sets details for the application that wrote this file.
- [ApplicationName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/applicationname.md): Gets or sets the name of the application that wrote this file.
- [ApplicationUrl](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/applicationurl.md): Gets or sets a URL for the application that wrote this file.
- [ArchiveVersion](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/archiveversion.md): Gets the 3dm file archive version.
- [Created](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/created.md): Get the DateTime that this file was originally created. If the value is not set in the 3dm file, then DateTime.MinValue is returned
- [CreatedBy](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/createdby.md): Gets a string that names the user who created the file.
- [DimStyles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/dimstyles.md): (obsolete) Dimension Styles in this file.
- [EarthAnchorPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/earthanchorpoint.md): If set, this is the model's location on the earth. This information is used when the model is used with GIS information.
- [EmbeddedFiles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/embeddedfiles.md): The embedded files in this file.
- [HatchPatterns](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/hatchpatterns.md): (obsolete) Hatch patterns in this file
- [InstanceDefinitions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/instancedefinitions.md): (obsolete) Instance definitions in this file.
- [LastEdited](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/lastedited.md): Get the DateTime that this file was last edited. If the value is not set in the 3dm file, then DateTime.MinValue is returned
- [LastEditedBy](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/lasteditedby.md): Gets a string that names the user who last edited the file.
- [Layers](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/layers.md): (obsolete) Layers in this file.
- [Linetypes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/linetypes.md): (obsolete) Linetypes in this file.
- [Manifest](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/manifest.md): Retrieves the manifest with all object descriptions in this file.
- [Materials](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/materials.md): (obsolete) Materials in this file.
- [NamedConstructionPlanes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/namedconstructionplanes.md): Named construction planes in this file.
- [NamedViews](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/namedviews.md): Named views in this file.
- [Notes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/notes.md): Gets or sets the model notes.
- [Objects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/objects.md): Gets access to the [File3dmObjectTable](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable.md) class associated with this file, which contains all objects.
- [PlugInData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/plugindata.md): Custom plug-in data in this file. This data is not attached to any geometry or attributes
- [RenderEnvironments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/renderenvironments.md): The render environments in this file.
- [RenderMaterials](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/rendermaterials.md): The render materials in this file.
- [RenderTextures](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/rendertextures.md): The render textures in this file.
- [Revision](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/revision.md): Gets or sets the revision number.
- [Settings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/settings.md): Settings include tolerance, and unit system, and defaults used for creating views and objects.
- [StartSectionComments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/startsectioncomments.md): Gets or sets the start section comments, which are the comments with which the 3dm file begins.
- [Strings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/strings.md): Document user strings in this file
- [Views](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/views.md): Views that represent the RhinoViews which are displayed when Rhino loads this file.

## Methods

- [Audit](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/audit.md): (obsolete) This function is only kept for forward assembly compatibility.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Dump](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/dump.md): Prepares a text dump of the entire model.
- [DumpSummary](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/dumpsummary.md): Prepares a text dump of model properties and settings.
- [DumpToTextLog](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/dumptotextlog.md): Prepares a text dump of the entire model.
- [FromByteArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/frombytearray.md): (static) Read a 3dm file from a byte array
- [GetPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/getpreviewimage.md): Preview image used for file explorer
- [IsValid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/isvalid.md): (2 overloads, obsolete) The File3dm object is kept consistent during its creation. Therefore, this function now returns only true.
- [Polish](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/polish.md): (obsolete) This function is only kept for forward assembly compatibility.
- [Read](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/read.md): (2 overloads, static) Reads a 3dm file from a specified location.
- [ReadApplicationData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readapplicationdata.md): (static) Reads only the application information from an existing 3dm file.
- [ReadArchiveVersion](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readarchiveversion.md): (static) Reads only the archive 3dm version from an existing 3dm file.
- [ReadDimensionStyles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readdimensionstyles.md): (static) Read the dimension styles table out of a 3dm file.
- [ReadEarthAnchorPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readearthanchorpoint.md): (static) Reads only the earth anchor point from an existing 3dm file
- [ReadNotes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readnotes.md): (static) Reads only the notes from an existing 3dm file.
- [ReadPageViews](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readpageviews.md): (static) Reads page view, or layout, information from an existing 3dm file.
- [ReadPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readpreviewimage.md): (static) Attempts to read the preview image out of a 3dm file.
- [ReadRevisionHistory](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readrevisionhistory.md): (static) Quickly check a file for it's revision information. This function does not read the entire file, just what it needs to get revision information out
- [ReadSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readsettings.md): (static) Reads only the start section, properties, and settings from a 3dm file at a specified location. The rest of the model (objects, layers, and other tables) is not read.
- [ReadWithLog](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/readwithlog.md): (2 overloads, static) Read a 3dm file from a specified location and log any archive reading errors.
- [SetPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/setpreviewimage.md): Preview image used for file explorer
- [ToByteArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/tobytearray.md): (2 overloads) Write to an in-memory byte[]
- [Write](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/write.md): (2 overloads) Writes contents of this model to an openNURBS archive. If the model is not valid, then Write will refuse to write it.
- [WriteMultipleObjects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/writemultipleobjects.md): (static) Creates a simple 3dm file that contains a multiple geometric objects.
- [WriteOneObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/writeoneobject.md): (static) Creates a simple 3dm file that contains a single geometric object.
- [WriteWithLog](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dm/writewithlog.md): (2 overloads) Writes contents of this model to an openNURBS archive. If the model is not valid, then Write will refuse to write it.
