|
[Sponsors] |
April 25, 2022, 09:45 |
Ansys Workbench Journal Record Problem
|
#1 |
New Member
Join Date: May 2019
Posts: 24
Rep Power: 7 |
I'm trying to automate the simulation workflow in ANSYS Workbench by using the built in journal recorder to record all the inputs and then make copies of the recorded code and run it multiple times. Everything works fine, but sometimes a window pops up in Fluent notifiying that the settings have changed and the user must confirm it before it continues. Sadly this window pops up randomly, so I would need to check for it's presence with some sort of IF sentence, but journal recording uses IronPython with a very strange (for me at least) syntax and I have no idea how to put together the IF sentence that would check the presence of this window.
The piece of code, responsible for confirming the pop-up window is bellow. setup1.SendCommand(Command='(cx-gui-do cx-activate-item "Ribbon*Frame1*Frame5(Solution)*Table1*Table3( Run Calculation)*PushButton7(Calculate)")(cx-gui-do cx-activate-item "Settings have changed!*PanelButtons*PushButton1(OK)")') Last edited by svantevid; April 26, 2022 at 03:54. |
|
Tags |
journaling, workbench |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS workbench startup problem | jasdeep2006singh | ANSYS | 11 | November 18, 2022 03:39 |
Problem with ANSYS Workbench deformed shape on Eigenvalue Buckling | Metallic | Structural Mechanics | 2 | March 15, 2019 10:11 |
Ansys Workbench Fracture and Cracking Behavior using Solid65 | jackhero | Structural Mechanics | 0 | December 25, 2017 01:45 |
Ansys SIG$ILL error | loth | ANSYS | 3 | December 24, 2015 06:31 |
ANSYS Workbench 11 backup problem, | mechanicaldesign | ANSYS | 0 | June 21, 2011 02:48 |