Use Python Code object / Python Result object with a DOE

Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 813
First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
edited June 2023 in Structures

When a Python Code or a Python Result object is inserted in Mechanical, by default it is not connected, ie there is a question mark next to the object in the Mechanical tree, and the code will not be executed. Manual action has to be taken to connect the object, which is fine for a single run, but will prevent a DOE (Design of Experiment / running several simulations from the project page with varying parameters) to run. Is there a solution to use Python objects in a DOE?


Best Answer