-
-
August 25, 2024 at 3:48 pm
s310413
SubscriberHi 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
-
August 26, 2024 at 7:58 am
Erik Kostson
Ansys EmployeeHi so in file name you give also the directory path so e.g. , say it is in D drive and folder called Test:
See here how it is done:
https://discuss.ansys.com/discussion/142/how-can-i-write-an-input-file-through-actAll the best
Erik
-
Viewing 1 reply thread
- The topic ‘Mechanical scripting’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3044
-
971
-
863
-
858
-
792
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.