Explodes, or un-joins, one more polysurface objects. Polysurfaces will be exploded into separate surfaces.
rhinoscriptsyntax.ExplodePolysurfaces (object_ids, delete_input=False)
rhinoscript.surface.ExplodePolysurfaces (object_ids, delete_input=False)
object_ids |
Required. String, Guid, List of strings, or List of Guids. Identifiers of the polysurface objects to explode. |
delete_input |
Optional. Boolean. Delete input objects after exploding. The default is not to delete objects (False). |
List |
A list of Guids identifying the newly created surface objects if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select polysurface to explode", rs.filter.polysurface)
if rs.IsPolysurface(obj):
rs.ExplodePolysurfaces( obj )