We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Post APDL Command in Ansys Workbench fails Reply To: Post APDL Command in Ansys Workbench fails

dlooman
Ansys Employee

I have found with commands objects that they sometimes work when they are executed immediately after the solution, but when you try to run them a 2nd time without rerunning the solution they don't.  Sometimes it's necessary to issue a resume command at the top of the commands object (which would require a database to be saved in Analysis Settings> Data Management>).  In the APDL gui when you issue the SET command without resuming a database the program asks if you want to recreate the database from the nodes and elements on the rst file.  Perhaps that doesn't work in batch mode.