Create a surface body from Faces
Gabriel Messager
Member, Employee Posts: 54
✭✭✭✭
Comments
-
# Python Script, API Version = V23 from SpaceClaim.Api.V23.Modeler import Face list_faces = List[Face]() sel = Selection.GetActive() body_ref = sel.ConvertToBodies().Items[0] for item in sel.Items: list_faces.Add(item.Shape) new_body = body_ref.Shape.CopyFaces(list_faces) DesignBody.Create(GetRootPart(),"new_body",new_body)
0