File3dmObjectTable
- class rhino3dm.File3dmObjectTable
- __len__()
[todo] add documentation
- __getitem__()
[todo] add documentation
- __iter__()
[todo] add documentation
- AddPoint(x, y, z)
Adds a point object to the table.
- Parameters:
x (float) – X component of point coordinate.
y (float) – Y component of point coordinate.
z (float) – Z component of point coordinate.
- Returns:
id of new object.
- Return type:
Guid
- AddPoint(point)
Adds a point object to the table.
- Parameters:
x (float) – X component of point coordinate.
y (float) – Y component of point coordinate.
z (float) – Z component of point coordinate.
- Returns:
id of new object.
- Return type:
Guid
- AddPoint(point)
Adds a point object to the table.
- Parameters:
x (float) – X component of point coordinate.
y (float) – Y component of point coordinate.
z (float) – Z component of point coordinate.
- Returns:
id of new object.
- Return type:
Guid
- AddPointCloud(cloud, attributes)
Adds a point cloud object to the document.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddLine(from, to)
Adds a line object to Rhino.
- Parameters:
from (rhino3dm.Point3d) – A line start point.
to (rhino3dm.Point3d) – A line end point.
- Returns:
A unique identifier of new rhino object.
- Return type:
Guid
- AddPolyline(polyline, attributes)
Adds a polyline object to Rhino.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddArc(arc, attributes)
Adds a curve object to the document representing an arc.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddCircle(circle, attributes)
Adds a curve object to the document representing a circle.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddEllipse(ellipse, attributes)
Adds a curve object to the document representing an ellipse.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddSphere(sphere, attributes)
Adds a surface object to the document representing a sphere.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddCurve(curve, attributes)
Adds a curve object to the table.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddTextDot(text, location, attributes)
Adds a text dot object to the table.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddSurface(surface, attributes)
Adds a surface object to Rhino.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddExtrusion(extrusion, attributes)
Adds an extrusion object to Rhino.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddMesh(mesh, attributes)
Adds a mesh object to Rhino.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddBrep(brep, attributes)
Adds a brep object to Rhino.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddHatch(hatch, attributes)
Adds a hatch to the document.
- Returns:
A unique identifier for the hatch, or on failure.
- Return type:
Guid
- Add(geometry, attributes)
Duplicates the object, then adds a copy of the object to the document.
- Return type:
void
- AddInstanceObject(idef)
Adds an instance reference geometry object to the table.
- Parameters:
instanceReference (InstanceReferenceGeometry) – The instance reference geometry object.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddInstanceObject(idef, attributes)
Adds an instance reference geometry object to the table.
- Returns:
A unique identifier for the object.
- Return type:
Guid
- AddObject(object)
[todo] add documentation
- GetBoundingBox()
Gets the bounding box containing every object in this table.
- Returns:
The computed bounding box.
- Return type:
Rhino.Geometry.BoundingBox
- Delete(id)
Deletes object from document.
- Parameters:
objectId (Guid) – Id of the object to delete.
- Returns:
True on success, False on failure.
- Return type:
bool
- FindId(id)
[todo] add documentation