M_Rhino_Geometry_BrepFace_SetMesh - mcneel/rhinocommon-api-docs GitHub Wiki

BrepFace.SetMesh Method

Sets a reference to a specified type of mesh for this brep face.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool SetMesh(
	MeshType meshType,
	Mesh mesh
)

VB

Public Function SetMesh ( 
	meshType As MeshType,
	mesh As Mesh
) As Boolean

Parameters

 

meshType
Type: Rhino.Geometry.MeshType
The mesh type.
mesh
Type: Rhino.Geometry.Mesh
The new mesh.

Return Value

Type: Boolean
true if the operation succeeded; otherwise false.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BrepFace Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️