Replies: 1 comment 2 replies
-
Hi @dkowollik! We do have ImportOptions available - see https://geometry.docs.pyansys.com/version/0.7/api/ansys/geometry/core/misc/options/ImportOptions.html#importoptions The way to use them would be as follows: from ansys.geometry.core import launch_modeler_with_geometry_service
from ansys.geometry.core.misc import ImportOptions
# Launch the modeler
modeler = launch_modeler_with_geometry_service()
# Define your import options
import_options = ImportOptions(...)
# Open your file with given options
model = modeler.open_file("my_rhino_file.3dm", import_options=import_options) Give it a try and let me know how it goes. If you are missing import options we can talk with the team and see if we can expose them, but probably not before the next release... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @RobPasMue,
I am struggling to get all the import options for Rhino files working that I usually use within Discovery or SpaceClaim.
So far I am using:
from ansys.geometry.core import launch_modeler_with_geometry_service
modeler = launch_modeler_with_geometry_service()
model = modeler.open_file('my_rhino_file.3dm')
In Discovery I used the following options (Sorry for the german version. Somehow Ansys 2024R2 installed Discovery in german):
Is it possible to use these options also in GeometryService?
Beta Was this translation helpful? Give feedback.
All reactions