Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combine odbs (by python script)

Status
Not open for further replies.

Ezio88

Mechanical
Jun 3, 2015
14
Hi,
i have many job.odbs which i should combine in order.
I know the command: abaqus restartjoin originalodb=test.odb restartodb=test2.odb copyoriginal (a)

I also know the possibility to copy the interest values of the odb "by hand"(python script).

But i am searching a way to call the command (a) directly out of the script, with the aim to combine all whole job odbs.

Best regards and many thx

 
Replies continue below

Recommended for you

You could use the os module of python to submit that command to the system.

Or you create a batch file with these commands and execute that file manually or with the script.
 
Best Man. Many thx!

If a further question: i have some print outs in the script. can i save these outputs (shown in abaqus windows) to a file?

edit: i have problem. i want to start test the batch file but after the first merge the file closed. All commands after the first abaqus restartjoin... will not be accomplished

--> EDIT: solved intern in python script without batch file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor