File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ This code shows how to import PyAnsys Geometry and use some basic capabilities:
72
72
.. code :: python
73
73
74
74
from ansys.geometry.core import launch_modeler
75
- from ansys.geometry.core.designer import DesignFileFormat
76
75
from ansys.geometry.core.math import Plane, Point3D, Point2D
77
76
from ansys.geometry.core.misc import UNITS , Distance
78
77
from ansys.geometry.core.sketch import Sketch
@@ -100,8 +99,8 @@ This code shows how to import PyAnsys Geometry and use some basic capabilities:
100
99
# Plot the body
101
100
design.plot()
102
101
103
- # Download the model
104
- design.download( file_location = " file.scdocx " , format = DesignFileFormat. SCDOCX )
102
+ # Export the model to SCDOCX format
103
+ file_path = design.export_to_scdocx( )
105
104
106
105
For comprehensive usage information, see `Examples `_ in the `PyAnsys Geometry documentation `_.
107
106
Original file line number Diff line number Diff line change
1
+ docs: simplify README example
You can’t perform that action at this time.
0 commit comments