M_Rhino_Geometry_Collections_MeshFaceList_SetFace - mcneel/rhinocommon-api-docs GitHub Wiki

MeshFaceList.SetFace Method (Int32, MeshFace)

Sets a face at a specific index of the mesh.

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

Syntax

C#

public bool SetFace(
	int index,
	MeshFace face
)

VB

Public Function SetFace ( 
	index As Integer,
	face As MeshFace
) As Boolean

Parameters

 

index
Type: System.Int32
A position in the list.
face
Type: Rhino.Geometry.MeshFace
A face.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshFaceList Class
SetFace Overload
Rhino.Geometry.Collections Namespace

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