首页 > 代码库 > 删除费点

删除费点

 1 disableSceneRedraw() 2 try 3 ( 4     for fe in geometry do 5     ( 6         if fe.Mesh.Numfaces == 0 then 7         (             8             delete fe; 9         )else()10     )            11     for i in geometry do 12     (    13         max create mode;14         select i15         --subobjectLevel = 116         if classof i==Editable_Poly then17         (18             i.EditablePoly.deleteIsoVerts()19         )else20         (21             if classof i==Editable_mesh then22             (23                 meshop.deleteIsoVerts i;24             )else()    25         )26         --subobjectLevel = 027     )28 )catch()29 enableSceneRedraw()30 clearSelection()
View Code

 

删除费点