M_Rhino_Geometry_Brep_DuplicateSubBrep - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.DuplicateSubBrep Method

Copy a subset of this Brep into another Brep.

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

Syntax

C#

public Brep DuplicateSubBrep(
	IEnumerable<int> faceIndices
)

VB

Public Function DuplicateSubBrep ( 
	faceIndices As IEnumerable(Of Integer)
) As Brep

Parameters

 

faceIndices
Type: System.Collections.Generic.IEnumerable(Int32)
array of face indices in this brep to copy. (If any values in faceIndices are out of range or if faceIndices contains duplicates, this function will return null.)

Return Value

Type: Brep
A brep, or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace

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