File3dmObjectTable Class |
This class mimics Rhino.DocObjects.Tables.ObjectTable while providing external access to the file.
Namespace: Rhino.FileIO
The File3dmObjectTable type exposes the following members.
Name | Description | |
---|---|---|
ComponentType |
Returns ModelGeometry.
(Overrides CommonComponentTableTComponentType.) | |
Count |
Returns the total amount of items in the object table, including lights.
(Overrides CommonComponentTableTCount.) |
Name | Description | |
---|---|---|
Add(File3dmObject) |
Duplicates the object, then adds a copy of the object to the document.
(Overrides File3dmCommonComponentTableTAdd(T).) | |
Add(GeometryBase, ObjectAttributes) |
Duplicates the object, then adds a copy of the object to the document.
| |
AddAngularDimension(AngularDimension) |
Adds a angular dimension object to the 3dm file object table.
| |
AddAngularDimension(AngularDimension, ObjectAttributes) |
Adds a angular dimension object to the 3dm file object table.
| |
AddArc(Arc) | Adds a curve object to the document representing an arc. | |
AddArc(Arc, ObjectAttributes) | Adds a curve object to the document representing an arc. | |
AddBrep(Brep) | Adds a brep object to Rhino. | |
AddBrep(Brep, ObjectAttributes) | Adds a brep object to Rhino. | |
AddCircle(Circle) | Adds a curve object to the document representing a circle. | |
AddCircle(Circle, ObjectAttributes) | Adds a curve object to the document representing a circle. | |
AddClippingPlane(Plane, Double, Double, IEnumerableGuid) |
Adds a clipping plane object to Rhino.
| |
AddClippingPlane(Plane, Double, Double, Guid) |
Adds a clipping plane object to Rhino.
| |
AddClippingPlane(Plane, Double, Double, IEnumerableGuid, ObjectAttributes) |
Adds a clipping plane object to Rhino.
| |
AddCurve(Curve) | Adds a curve object to the table. | |
AddCurve(Curve, ObjectAttributes) | Adds a curve object to the table. | |
AddEllipse(Ellipse) | Adds a curve object to the document representing an ellipse. | |
AddEllipse(Ellipse, ObjectAttributes) | Adds a curve object to the document representing an ellipse. | |
AddExtrusion(Extrusion) | Adds an extrusion object to Rhino. | |
AddExtrusion(Extrusion, ObjectAttributes) | Adds an extrusion object to Rhino. | |
AddHatch(Hatch) |
Adds a hatch to the document.
| |
AddHatch(Hatch, ObjectAttributes) |
Adds a hatch to the document.
| |
AddInstanceObject(InstanceReferenceGeometry) |
Adds an instance reference geometry object to the table.
| |
AddInstanceObject(InstanceReferenceGeometry, ObjectAttributes) |
Adds an instance reference geometry object to the table.
| |
AddInstanceObject(Int32, Transform) |
Adds an instance reference geometry object to the table.
| |
AddInstanceObject(Int32, Transform, ObjectAttributes) |
Adds an instance reference geometry object to the table.
| |
AddLeader(IEnumerablePoint3d) |
Adds an annotation leader to the document. This overload is only provided in the Rhino SDK.
| |
AddLeader(Plane, IEnumerablePoint2d) |
Adds an annotation leader to the document.
| |
AddLeader(String, IEnumerablePoint3d) |
Adds an annotation leader to the document. This overload is only provided in the Rhino SDK.
| |
AddLeader(Plane, IEnumerablePoint2d, ObjectAttributes) |
Adds an annotation leader to the document.
| |
AddLeader(String, Plane, IEnumerablePoint2d) |
Adds an annotation leader to the document.
| |
AddLeader(String, Plane, IEnumerablePoint2d, ObjectAttributes) |
Adds an annotation leader to the document.
| |
AddLine(Line) | Adds a line object to Rhino. | |
AddLine(Line, ObjectAttributes) | Adds a line object to Rhino. | |
AddLine(Point3d, Point3d) | Adds a line object to Rhino. | |
AddLine(Point3d, Point3d, ObjectAttributes) | Adds a line object to Rhino. | |
AddLinearDimension(LinearDimension) |
Adds a linear dimension to the 3dm file object table.
| |
AddLinearDimension(LinearDimension, ObjectAttributes) |
Adds a linear dimension to the 3dm file object table.
| |
AddMesh(Mesh) | Adds a mesh object to Rhino. | |
AddMesh(Mesh, ObjectAttributes) | Adds a mesh object to Rhino. | |
AddOrdinateDimension(OrdinateDimension) |
Adds an ordinate dimension object to the 3dm file object table.
| |
AddOrdinateDimension(OrdinateDimension, ObjectAttributes) |
Adds an ordinate dimension object to the 3dm file object table.
| |
AddPoint(Point3d) | Adds a point object to the table. | |
AddPoint(Point3f) | Adds a point object to the document. | |
AddPoint(Point3d, ObjectAttributes) | Adds a point object to the document. | |
AddPoint(Point3f, ObjectAttributes) | Adds a point object to the document. | |
AddPoint(Double, Double, Double) |
Adds a point object to the table.
| |
AddPointCloud(IEnumerablePoint3d) | Adds a point cloud object to the document. | |
AddPointCloud(PointCloud) | Adds a point cloud object to the document. | |
AddPointCloud(IEnumerablePoint3d, ObjectAttributes) | Adds a point cloud object to the document. | |
AddPointCloud(PointCloud, ObjectAttributes) | Adds a point cloud object to the document. | |
AddPoints(IEnumerablePoint3d) |
Adds multiple points to the document.
| |
AddPoints(IEnumerablePoint3f) |
Adds multiple points to the document.
| |
AddPoints(IEnumerablePoint3d, ObjectAttributes) |
Adds multiple points to the document.
| |
AddPoints(IEnumerablePoint3f, ObjectAttributes) |
Adds multiple points to the document.
| |
AddPolyline(IEnumerablePoint3d) | Adds a polyline object to Rhino. | |
AddPolyline(IEnumerablePoint3d, ObjectAttributes) | Adds a polyline object to Rhino. | |
AddRadialDimension(RadialDimension) |
Adds a radial dimension object to the 3dm file object table.
| |
AddRadialDimension(RadialDimension, ObjectAttributes) |
Adds a radial dimension object to the 3dm file object table.
| |
AddSphere(Sphere) |
Adds a surface object to the document representing a sphere.
| |
AddSphere(Sphere, ObjectAttributes) |
Adds a surface object to the document representing a sphere.
| |
AddSubD(SubD) |
Adds a SubD to the document
| |
AddSubD(SubD, ObjectAttributes) |
Adds a SubD to the document
| |
AddSurface(Surface) | Adds a surface object to Rhino. | |
AddSurface(Surface, ObjectAttributes) | Adds a surface object to Rhino. | |
AddText(Text3d) |
Adds an annotation text object to the document.
| |
AddText(Text3d, ObjectAttributes) |
Adds an annotation text object to the document.
| |
AddText(String, Plane, Double, String, Boolean, Boolean) |
Adds an annotation text object to the document.
| |
AddText(String, Plane, Double, String, Boolean, Boolean, ObjectAttributes) |
Adds an annotation text object to the document.
| |
AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification) |
Adds an annotation text object to the document.
| |
AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification, ObjectAttributes) |
Adds an annotation text object to the document.
| |
AddTextDot(TextDot) | Adds a text dot object to the table. | |
AddTextDot(String, Point3d) | Adds a text dot object to the table. | |
AddTextDot(TextDot, ObjectAttributes) | Adds a text dot object to the table. | |
AddTextDot(String, Point3d, ObjectAttributes) | Adds a text dot object to the table. | |
Clear |
Marks all items as deleted.
(Inherited from CommonComponentTableT.) | |
Delete(T) |
Flags a component as deleted.
(Inherited from File3dmCommonComponentTableT.) | |
Delete(Guid) |
Deletes object from document.
| |
Delete(IEnumerableGuid) |
Deletes a collection of objects from the document.
| |
Delete(Int32) |
Flags a component as deleted.
(Inherited from File3dmCommonComponentTableT.) | |
Dump | Prepares a text dump of object table. (Inherited from File3dmCommonComponentTableT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindByGroup |
Finds all File3dmObject that are in a given group.
| |
FindByLayer(Layer) |
Finds all File3dmObject that are in a given layer.
| |
FindByLayer(String) |
Finds all File3dmObject that are in a given layer.
| |
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 CommonComponentTableT.) | |
GetBoundingBox | Gets the bounding box containing every object in this table. | |
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 CommonComponentTableTGetEnumerator.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |