Skip to content

Model transfer between GeometryService and PyPrimeMesh #1381

Answered by RobPasMue
dkowollik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dkowollik!

Currently there is no option to transfer a memory in model, though internally we are working in ways to do this across the entire ecosystem with common data models. This might take some time to happen though but it is one of the working lines for the ecosystem.

The fastest way via file export/import would be to use the ".fmd" format. PyPrimeMesh has native support for that file format so my recommendation would be the following:

from ansys.geometry.core import launch_modeler_with_geometry_service

modeler = launch_modeler_with_geometry_service()

design = modeler.create_design("MyDesign")

# Do your modelling operations
# ...

# Export to FMD
design.export_to_fmd()

The prev…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RobPasMue
Comment options

@dkowollik
Comment options

@RobPasMue
Comment options

Answer selected by dkowollik
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