0 Usuarios y 3 Visitantes están viendo este tema.
xsi = Applicationfrom win32com.client import Dispatchsel = Dispatch("XSI.Collection")sel.AddItems(xsi.Selection)for obj in sel: edges = obj.ActivePrimitive.Geometry.Edges xsi.SelectGeometryComponents([edge for edge in edges if edge.IsBoundary]) xsi.DuplicateMeshComponent("") edges = obj.ActivePrimitive.Geometry.Edges # necesita ser redeclarado para que se actualize. xsi.SelectGeometryComponents([edge for edge in edges if edge.IsBoundary]) xsi.ApplyTopoOp("Collapse")xsi.SelectObj(sel)