File3dmObjectTableAddMesh Method (Mesh, ObjectAttributes) |
Adds a mesh object to Rhino.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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 to link to the object.
Return Value
Type:
GuidA unique identifier for the object.
See Also