I have an abaqus python script I've been using for a parametric study. It is exhausting to go into the code and edit it every time I want to run different options. I'd like to be able to pass the script arguments so that I can run different options without needing to change the code.
I'd like to do something like this...
abaqus cae script='Script.py --verbose --data=someData.dat'
I've tried the above and I've also tried
abaqus python Script.py --verbose --data=someData.dat
With no success. Is this at all possible?
From the Abaqus Scripting User's Manual:
Arguments can be passed into the script by entering -- on the command line, followed by the arguments separated by one or more spaces. These arguments will be ignored by the Abaqus/CAE execution procedure, but they will be accessible within the script. For more information, see “Abaqus/CAE execution,” Section 3.2.5 of the Abaqus Analysis User’s Manual, and “Abaqus/Viewer execution,” Section 3.2.6 of the Abaqus Analysis User’s Manual.