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
)
Public Function DuplicateSubBrep (
faceIndices As IEnumerable(Of Integer)
) As Brep
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:
BrepA brep, or null on error.
See Also