File3dmObjectTable
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.
Inheritance Hierarchy
System.Object
Rhino.FileIO.CommonComponentTable. File3dmObject.
Rhino.FileIO.File3dmCommonComponentTable. File3dmObject.
Rhino.FileIO.File3dmObjectTable
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class File3dmObjectTable : File3dmCommonComponentTable<File3dmObject>, IEnumerable<File3dmObject>, IEnumerable
The File3dmObjectTable type exposes the following members.
Properties
Name
Description
Public Property
ComponentType
Returns ModelGeometry.
(Overrides
CommonComponentTable.T..ComponentType
.)Public Property
Count
Returns the total amount of items in the object table, including lights.
(Overrides
CommonComponentTable.T..Count
.)Methods
Name
Description
Public Method
Add(File3dmObject)
Duplicates the object, then adds a copy of the object to the document.
(Overrides
File3dmCommonComponentTable.T..Add(T)
.)Public Method
Add(GeometryBase, ObjectAttributes)
Duplicates the object, then adds a copy of the object to the document.
Public Method
AddAngularDimension(AngularDimension)
Adds a angular dimension object to the 3dm file object table.
Public Method
AddAngularDimension(AngularDimension, ObjectAttributes)
Adds a angular dimension object to the 3dm file object table.
Public Method
AddArc(Arc)
Adds a curve object to the document representing an arc.
Public Method
AddArc(Arc, ObjectAttributes)
Adds a curve object to the document representing an arc.
Public Method
AddBrep(Brep)
Adds a brep object to Rhino.
Public Method
AddBrep(Brep, ObjectAttributes)
Adds a brep object to Rhino.
Public Method
AddCircle(Circle)
Adds a curve object to the document representing a circle.
Public Method
AddCircle(Circle, ObjectAttributes)
Adds a curve object to the document representing a circle.
Public Method
AddClippingPlane(Plane, Double, Double, IEnumerable.Guid.)
Adds a clipping plane object to Rhino.
Public Method
Code Example
AddClippingPlane(Plane, Double, Double, Guid)
Adds a clipping plane object to Rhino.
Public Method
AddClippingPlane(Plane, Double, Double, IEnumerable.Guid., ObjectAttributes)
Adds a clipping plane object to Rhino.
Public Method
AddCurve(Curve)
Adds a curve object to the table.
Public Method
AddCurve(Curve, ObjectAttributes)
Adds a curve object to the table.
Public Method
AddEllipse(Ellipse)
Adds a curve object to the document representing an ellipse.
Public Method
AddEllipse(Ellipse, ObjectAttributes)
Adds a curve object to the document representing an ellipse.
Public Method
AddExtrusion(Extrusion)
Adds an extrusion object to Rhino.
Public Method
AddExtrusion(Extrusion, ObjectAttributes)
Adds an extrusion object to Rhino.
Public Method
AddHatch(Hatch)
Adds a hatch to the document.
Public Method
AddHatch(Hatch, ObjectAttributes)
Adds a hatch to the document.
Public Method
AddInstanceObject(InstanceReferenceGeometry)
Adds an instance reference geometry object to the table.
Public Method
AddInstanceObject(InstanceReferenceGeometry, ObjectAttributes)
Adds an instance reference geometry object to the table.
Public Method
AddInstanceObject(Int32, Transform)
Adds an instance reference geometry object to the table.
Public Method
AddInstanceObject(Int32, Transform, ObjectAttributes)
Adds an instance reference geometry object to the table.
Public Method
AddLeader(IEnumerable.Point3d.)
Adds an annotation leader to the document. This overload is only provided in the Rhino SDK.
Public Method
AddLeader(Plane, IEnumerable.Point2d.)
Adds an annotation leader to the document.
Public Method
AddLeader(String, IEnumerable.Point3d.)
Adds an annotation leader to the document. This overload is only provided in the Rhino SDK.
Public Method
AddLeader(Plane, IEnumerable.Point2d., ObjectAttributes)
Adds an annotation leader to the document.
Public Method
AddLeader(String, Plane, IEnumerable.Point2d.)
Adds an annotation leader to the document.
Public Method
AddLeader(String, Plane, IEnumerable.Point2d., ObjectAttributes)
Adds an annotation leader to the document.
Public Method
AddLine(Line)
Adds a line object to Rhino.
Public Method
AddLine(Line, ObjectAttributes)
Adds a line object to Rhino.
Public Method
AddLine(Point3d, Point3d)
Adds a line object to Rhino.
Public Method
AddLine(Point3d, Point3d, ObjectAttributes)
Adds a line object to Rhino.
Public Method
AddLinearDimension(LinearDimension)
Adds a linear dimension to the 3dm file object table.
Public Method
AddLinearDimension(LinearDimension, ObjectAttributes)
Adds a linear dimension to the 3dm file object table.
Public Method
AddMesh(Mesh)
Adds a mesh object to Rhino.
Public Method
AddMesh(Mesh, ObjectAttributes)
Adds a mesh object to Rhino.
Public Method
AddOrdinateDimension(OrdinateDimension)
Adds an ordinate dimension object to the 3dm file object table.
Public Method
AddOrdinateDimension(OrdinateDimension, ObjectAttributes)
Adds an ordinate dimension object to the 3dm file object table.
Public Method
AddPoint(Point3d)
Adds a point object to the table.
Public Method
AddPoint(Point3f)
Adds a point object to the document.
Public Method
AddPoint(Point3d, ObjectAttributes)
Adds a point object to the document.
Public Method
AddPoint(Point3f, ObjectAttributes)
Adds a point object to the document.
Public Method
AddPoint(Double, Double, Double)
Adds a point object to the table.
Public Method
AddPointCloud(IEnumerable.Point3d.)
Adds a point cloud object to the document.
Public Method
AddPointCloud(PointCloud)
Adds a point cloud object to the document.
Public Method
AddPointCloud(IEnumerable.Point3d., ObjectAttributes)
Adds a point cloud object to the document.
Public Method
AddPointCloud(PointCloud, ObjectAttributes)
Adds a point cloud object to the document.
Public Method
AddPoints(IEnumerable.Point3d.)
Adds multiple points to the document.
Public Method
AddPoints(IEnumerable.Point3f.)
Adds multiple points to the document.
Public Method
AddPoints(IEnumerable.Point3d., ObjectAttributes)
Adds multiple points to the document.
Public Method
AddPoints(IEnumerable.Point3f., ObjectAttributes)
Adds multiple points to the document.
Public Method
AddPolyline(IEnumerable.Point3d.)
Adds a polyline object to Rhino.
Public Method
AddPolyline(IEnumerable.Point3d., ObjectAttributes)
Adds a polyline object to Rhino.
Public Method
AddRadialDimension(RadialDimension)
Adds a radial dimension object to the 3dm file object table.
Public Method
AddRadialDimension(RadialDimension, ObjectAttributes)
Adds a radial dimension object to the 3dm file object table.
Public Method
AddSphere(Sphere)
Adds a surface object to the document representing a sphere.
Public Method
AddSphere(Sphere, ObjectAttributes)
Adds a surface object to the document representing a sphere.
Public Method
AddSubD(SubD)
Adds a SubD to the document
Public Method
AddSubD(SubD, ObjectAttributes)
Adds a SubD to the document
Public Method
AddSurface(Surface)
Adds a surface object to Rhino.
Public Method
AddSurface(Surface, ObjectAttributes)
Adds a surface object to Rhino.
Public Method
AddText(Text3d)
Adds an annotation text object to the document.
Public Method
AddText(Text3d, ObjectAttributes)
Adds an annotation text object to the document.
Public Method
AddText(String, Plane, Double, String, Boolean, Boolean)
Adds an annotation text object to the document.
Public Method
AddText(String, Plane, Double, String, Boolean, Boolean, ObjectAttributes)
Adds an annotation text object to the document.
Public Method
AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification)
Adds an annotation text object to the document.
Public Method
AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification, ObjectAttributes)
Adds an annotation text object to the document.
Public Method
AddTextDot(TextDot)
Adds a text dot object to the table.
Public Method
AddTextDot(String, Point3d)
Adds a text dot object to the table.
Public Method
AddTextDot(TextDot, ObjectAttributes)
Adds a text dot object to the table.
Public Method
AddTextDot(String, Point3d, ObjectAttributes)
Adds a text dot object to the table.
Public Method
Clear
Marks all items as deleted.
(Inherited from CommonComponentTable.T..)
Public Method
Delete(T)
Flags a component as deleted.
(Inherited from File3dmCommonComponentTable.T..)
Public Method
Delete(Guid)
Deletes object from document.
Public Method
Delete(IEnumerable.Guid.)
Deletes a collection of objects from the document.
Public Method
Delete(Int32)
Flags a component as deleted.
(Inherited from File3dmCommonComponentTable.T..)
Public Method
Dump
Prepares a text dump of object table.
(Inherited from File3dmCommonComponentTable.T..)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
FindByGroup
Finds all File3dmObject that are in a given group.
Public Method
FindByLayer(Layer)
Finds all File3dmObject that are in a given layer.
Public Method
FindByLayer(String)
Finds all File3dmObject that are in a given layer.
Public Method
FindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTable.T..)
Public Method
GetBoundingBox
Gets the bounding box containing every object in this table.
Public Method
GetEnumerator
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.
(Overrides
CommonComponentTable.T..GetEnumerator.
.)Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)