Cannot modify an existing Design. Error : The design has been closed on the backend. Cannot perform any operations on it #2057
Answered by RobPasMue
Abhijith022 asked this question in Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by RobPasMue Jun 20, 2025
Replies: 2 comments 3 replies
-
| Hi @Abhijith022! For the purpose of trying to reproduce your issue... would you be able to answer the following questions?
Thank you in advance! |
Beta Was this translation helpful? Give feedback.
2 replies
-
| Hi @Abhijith022 - so I ran your script (with some slight modifications). I am using Ansys Discovery 25R1 and PyAnsys Geometry 0.10.9 from pint import Quantity from ansys.geometry.core import launch_modeler_with_discovery from ansys.geometry.core.math import Point2D from ansys.geometry.core.misc import UNITS from ansys.geometry.core.sketch import Sketch modeler = launch_modeler_with_discovery() sk_rect=Sketch() (sk_rect.box(Point2D([0,0],UNITS.m),Quantity(10,UNITS.m),Quantity(10,UNITS.m)) .box(Point2D([0,0],UNITS.m),Quantity(5,UNITS.m),Quantity(5,UNITS.m)) ) design=modeler.create_design("Extruded box") body1=design.extrude_sketch(f"Body_extruded",sk_rect, Quantity(5,units=UNITS.m)) Allcentre=[[8,8], [8,-8],[-8,-8]] for centre in Allcentre: sk_hole=Sketch() design.extrude_sketch(name="Check1", sketch=sk_hole.circle(center=Point2D([centre[0]/2,centre[1]/2],UNITS.m),radius=Quantity(.5,UNITS.m)), distance=Quantity(5,UNITS.m), cut=True) design.plot()This script ran just fine for me when installing |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by RobPasMue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment



Hi @Abhijith022 - so I ran your script (with some slight modifications). I am using Ansys Discovery 25R1 and PyAnsys Geometry 0.10.9