# File3dmObjectTable 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 File3dmObjectTable : File3dmCommonComponentTable<File3dmObject>, IEnumerable<File3dmObject>
```

Represents a simple object table for a file that is open externally.

This class mimics Rhino.DocObjects.Tables.ObjectTable while providing external access to the file.

## Properties

- [ComponentType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/componenttype.md): Returns [ModelComponentType.ModelGeometry](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.modelcomponenttype.md).
- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/count.md): Returns the total amount of items in the object table, including lights.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/add.md): (2 overloads) Duplicates the object, then adds a copy of the object to the document.
- [AddAngularDimension](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addangulardimension.md): (2 overloads) Adds a angular dimension object to the 3dm file object table.
- [AddArc](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addarc.md): (2 overloads) Adds a curve object to the document representing an arc.
- [AddBrep](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addbrep.md): (2 overloads) Adds a brep object to Rhino.
- [AddCircle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addcircle.md): (2 overloads) Adds a curve object to the document representing a circle.
- [AddClippingPlane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addclippingplane.md): (3 overloads) Adds a clipping plane object to Rhino.
- [AddCurve](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addcurve.md): (2 overloads) Adds a curve object to the table.
- [AddEllipse](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addellipse.md): (2 overloads) Adds a curve object to the document representing an ellipse.
- [AddExtrusion](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addextrusion.md): (2 overloads) Adds an extrusion object to Rhino.
- [AddHatch](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addhatch.md): (2 overloads) Adds a hatch to the document.
- [AddInstanceObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addinstanceobject.md): (4 overloads) Adds an instance reference geometry object to the table.
- [AddLeader](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addleader.md): (6 overloads) Adds an annotation leader to the document. This overload is only provided in the Rhino SDK.
- [AddLine](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addline.md): (4 overloads) Adds a line object to Rhino.
- [AddLinearDimension](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addlineardimension.md): (2 overloads) Adds a linear dimension to the 3dm file object table.
- [AddMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addmesh.md): (2 overloads) Adds a mesh object to Rhino.
- [AddOrdinateDimension](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addordinatedimension.md): (2 overloads) Adds an ordinate dimension object to the 3dm file object table.
- [AddPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addpoint.md): (5 overloads) Adds a point object to the table.
- [AddPointCloud](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addpointcloud.md): (4 overloads) Adds a point cloud object to the document.
- [AddPoints](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addpoints.md): (4 overloads) Adds multiple points to the document.
- [AddPolyline](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addpolyline.md): (2 overloads) Adds a polyline object to Rhino.
- [AddRadialDimension](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addradialdimension.md): (2 overloads) Adds a radial dimension object to the 3dm file object table.
- [AddSphere](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addsphere.md): (2 overloads) Adds a surface object to the document representing a sphere.
- [AddSubD](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addsubd.md): (2 overloads) Adds a SubD to the document
- [AddSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addsurface.md): (2 overloads) Adds a surface object to Rhino.
- [AddText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addtext.md): (6 overloads) Adds an annotation text object to the document.
- [AddTextDot](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/addtextdot.md): (4 overloads) Adds a text dot object to the table.
- [Delete](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/delete.md): (2 overloads) Deletes object from document.
- [FindByGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/findbygroup.md): Finds all File3dmObject that are in a given group.
- [FindByLayer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/findbylayer.md): (2 overloads) Finds all File3dmObject that are in a given layer.
- [GetBoundingBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/getboundingbox.md): Gets the bounding box containing every object in this table.
- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmobjecttable/getenumerator.md): Returns an enumerator that yields all objects in this document. Like in Rhino, this includes lights. Unlike in Rhino, however, all lights are returned in the end of the list.

## Inherited Members

- From [File3dmCommonComponentTable<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmcommoncomponenttable-1.md): [Delete](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmcommoncomponenttable-1/delete.md), [Dump](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.file3dmcommoncomponenttable-1/dump.md)
- From [CommonComponentTable<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1.md): [Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/clear.md), [FindId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/findid.md)
