From 75f4ad5b06f5cd24e665736089b2f5381fafc6e2 Mon Sep 17 00:00:00 2001 From: mcapodif Date: Thu, 16 Jan 2025 21:29:04 +0100 Subject: [PATCH] fixed method that was using deprecated method remove_edges --- src/ansys/aedt/core/modeler/cad/primitives.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/aedt/core/modeler/cad/primitives.py b/src/ansys/aedt/core/modeler/cad/primitives.py index 9f327388ede..89ae482a72c 100644 --- a/src/ansys/aedt/core/modeler/cad/primitives.py +++ b/src/ansys/aedt/core/modeler/cad/primitives.py @@ -4394,7 +4394,7 @@ def create_faceted_bondwire_from_true_surface(self, assignment, direction, min_s P = self.get_existing_polyline(assignment=new_edges[0]) if edge_to_delete: - P.remove_edges(edge_to_delete) + P.remove_segments(edge_to_delete) angle = math.pi * (180 - 360 / number_of_segments) / 360