×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Combine odbs (by python script)

Combine odbs (by python script)

Combine odbs (by python script)

(OP)
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

RE: Combine odbs (by python script)

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.

RE: Combine odbs (by python script)

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources