Expert user tool that replaces the 3d surface geometry use by the face.
RhinoCommon (in RhinoCommon.dll)
public bool ChangeSurface(
Public Function ChangeSurface (
surfaceIndex As Integer
) As Boolean
- Type: SystemInt32
brep surface index of new surface.
true if successful.
If the face had a surface and new surface has a different shape, then
you probably want to call something like RebuildEdges() to move
the 3d edge curves so they will lie on the new surface. This doesn't
delete the old surface; call Brep.CullUnusedSurfaces() or Brep.Compact()
to remove unused surfaces.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.8