Skip to content

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
Discussion options

You must be logged in to vote

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=U…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Abhijith022
Comment options

@RobPasMue
Comment options

Comment options

You must be logged in to vote
1 reply
@RobPasMue
Comment options

Answer selected by RobPasMue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants