Tagged: design-points, export-data, parameter-set, python-scripting
-
-
March 3, 2023 at 1:43 amSubscriber
Hi,
I have been using the python code feature to automatically export results from different design points runs.
I would like to save the files using some of the varying parameters described in the design points (the value for "P1" for example).
How can I do this?
I was able to access the design point number using the following code line:
import os
import wbjn
dpn=wbjn.ExecuteCommand(ExtAPI,"returnValue(a+Parameters.GetActiveDesignPoint().Name)",a="DP")credit: https://www.linkedin.com/pulse/script-tip-friday-python-code-object-mechanical-
-
March 3, 2023 at 11:51 am
Aniket
Ansys EmployeePlease check the source code of Multi object export app on Ansys store:
Ansys Store Multi Object ExportV1.1 created by Ansys Inc
-Aniket
-
March 3, 2023 at 5:50 pmSubscriber
Thank you.
It's another way to perform the export, but I don't see anything specifically about accessing the design point parameters.
Is there a way to access the design point parameters from ANSYS Mechanical?
-
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
- Colors and Mesh Display
- material damping and modal analysis
-
3694
-
2564
-
1765
-
1236
-
592
© 2023 Copyright ANSYS, Inc. All rights reserved.