How to modify a geometry and its parameters in Python
PaoloStefani
Member Posts: 1 **
Hello!
I'm wondering if it is possible importing a Design Modeler Geometry (.anf or .agdb file...) in Python, getting the list of its parameters and being able to modify them to get an updated model.
Thanks in advance!
Tagged:
0
Answers
-
There is not a direct route to this as the PyAnsys geometry isn't really able to work with DM like that. I think the only way would be to use PyWorkbench to open a WB session, import the DM file as a geometry cell, and then you could use WB to set the parameters and refresh the geometry. Save this, and you should have a new .agdb file in the WB project, updated per the parameters.
0