How can I write an input file through ACT?

Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
500 Comments Photogenic Name Dropper Solution Developer Community of Practice Member
✭✭✭✭
edited June 2023 in Structures

How can I write an input file through ACT?

Tagged:

Best Answer

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    500 Comments Photogenic Name Dropper Solution Developer Community of Practice Member
    ✭✭✭✭
    edited November 2022 Answer ✓

    WriteInputFile() method can be used to that effect, for example the command line:

        ExtAPI.DataModel.Project.Model.Analyses[0].WriteInputFile(;D:\Test\Input.dat")
    

    will generate the input file for the model and save it in the D:\Test folder (provided that this folder exists).

Answers

  • Erik Kostson
    Erik Kostson Member, Employee Posts: 209
    50 Answers 100 Comments Photogenic 5 Likes
    ✭✭✭✭
    edited August 27

    Think there was a small typo (;) in the above act script - should be:

    ExtAPI.DataModel.Project.Model.Analyses[0].WriteInputFile("D:\Test\Input.dat")