ObjectTable.AddMesh Method (Mesh, ObjectAttributes)

ObjectTableAddMesh Method (Mesh, ObjectAttributes)

Adds a mesh object to Rhino.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddMesh(
	Mesh mesh,
	ObjectAttributes attributes
)
Public Function AddMesh ( 
	mesh As Mesh,
	attributes As ObjectAttributes
) As Guid

Parameters

mesh
Type: Rhino.GeometryMesh
A duplicate of this mesh is added to Rhino.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes that will be linked with the mesh object.

Return Value

Type: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also