I’m trying to script the “_FillMeshHoles” Rhino command using Python. I’m adding objects to a variable and filtering them by “mesh” type. But when I go to iterate over the list of objects by calling the command “_FillMeshHoles” I’m prompted every single time to select the objects in the list/array one at time. “Select Objects” is built into the “_FillMeshHoles” command!
Is there a way to get around this and automatically feed the Rhino command each object in the list one at a time? Or perhaps disable the “select object” portion of the command?
It’s a simple script:
import rhinoscriptsyntax as rs
msh = rs.GetObjects(“Select Meshes”, filter = rs.filter.mesh)
for m in msh: