Click or drag to resize

BrepDuplicateSubBrep Method

Copy a subset of this Brep into another Brep.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Brep DuplicateSubBrep(
	IEnumerable<int> faceIndices
)

Parameters

faceIndices
Type: System.Collections.GenericIEnumerableInt32
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.
See Also