0 Usuarios y 1 Visitante están viendo este tema.
def FilterByEdges(oObj, iNbEdges): lVtx = oObj.ActivePrimitive.Geometry.Vertices return [i.Index for i in lVtx if i.NeighborEdges(1).Count == iNbEdges]lPts = FilterByEdges(Application.Selection(0), 5)if len(lPts) > 0: Application.SelectGeometryComponents("%s.pnt%s" % (Application.Selection(0).FullName, str(lPts)))