General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Mechanical scripting – write input file

    • s310413
      Subscriber

      Hi everyone, I'm trying to automate a simulation and I need to write the input file (.dat) of a static structural analysis. In mechanical ACT console I tried with the command ExtAPI.DataModel.Project.Model.Analyses[0].WriteInputFile('filename') but I don't know if and where it is saving the .dat file. Does anyone know where the file is saved and eventually how can save it in a desired folder? Thanks

    • Harshvardhan
      Ansys Employee

      Hi,

      This is a duplicate post so I am closing this forum topic.

      Please find the following link for the discussion:

      Mechanical scripting (ansys.com)

       

      Thanks,

      Harshvardhan

Viewing 1 reply thread
  • The topic ‘Mechanical scripting – write input file’ is closed to new replies.