RhinoCommon API
ObjectTableAddMesh Method (Mesh, ObjectAttributes) |
Adds a mesh object to Rhino.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

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: GuidA unique identifier for the object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8