How running with noGUI and a .py file with arguments ?
How running with noGUI and a .py file with arguments ?
(OP)
Hi all,
I'd like to run Abaqus without GUI (Graphical User Interface) but I have a python file with arguments required.
The following command line doesn't work :
abaqus viewer noGUI=writeDisp.py /home/workspace/test.odb
(writeDisp has a path as argument)
Does anybody know how using the noGUI option ? I have few difficulties to understand the help provided by Abaqus (something with '--' ?).
Thanks
I'd like to run Abaqus without GUI (Graphical User Interface) but I have a python file with arguments required.
The following command line doesn't work :
abaqus viewer noGUI=writeDisp.py /home/workspace/test.odb
(writeDisp has a path as argument)
Does anybody know how using the noGUI option ? I have few difficulties to understand the help provided by Abaqus (something with '--' ?).
Thanks





RE: How running with noGUI and a .py file with arguments ?
I think the command is only:
abaqus viewer noGUI=writeDisp.py
without specifying the Odb file
In the Python script you should start by opening the odb file with the following command:
myOdb = visualization.openOdb(path='test.odb')
Hope it'll help
RGX
RE: How running with noGUI and a .py file with arguments ?
Indeed, I could do that. But in fact, this command is included in a loop.
This is something like :
for myodb in ODBbase:
abaqus viewer noGUI=writeDisp.py myodb
end
(This is just ti illustrate)
So the question is, how giving an argument to my python file...
Thanks again.
rgds
RE: How running with noGUI and a .py file with arguments ?