How does this plugin work in Python
Try calling CapPlanarHoles function
import rhinoscriptsyntax as rs
rs.CapPlanarHoles()
Following your tip, I found that rhinoscriptsyntax functions are too dependent on guids, and my Python generated items cannot be sealed. But I’ve found the same approach in Rhino.Geometry. More probationary.