M_Rhino_Geometry_Brep_DuplicateSubBrep - mcneel/rhinocommon-api-docs GitHub Wiki
Copy a subset of this Brep into another Brep.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Brep DuplicateSubBrep(
IEnumerable<int> faceIndices
)
VB
Public Function DuplicateSubBrep (
faceIndices As IEnumerable(Of Integer)
) As Brep
- 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.)
Type: Brep
A brep, or null on error.
Supported in: 6.0.16224.21491, 5D58w