Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

copy odb using python

Status
Not open for further replies.

warpino

Geotechnical
Jul 10, 2014
6
0
0
IT
Hi all,

I would like to add some custom fieldOutputs to an odb and I wish to save the results using a different name for the odb, in order not to mess up the original odb. For how much I tried I cannot find a solution, it seems that I can only save an odb with using its original name/path . Does anybody know how to do that?

Thanks
 
Replies continue below

Recommended for you

Well, that's the most obvious solution, but it means that you have to write a (possibly huge) odb file twice: one for copying, one for saving. Any other suggestions?
 
If you want to have a backup of the original ODB, then I think you won't find a method that is faster than copying on OS-level.

If you want to have only your custom field in the ODB and not the original results, then you could run another datacheck with the original .inp and then add your field into this ODB.
 
Status
Not open for further replies.
Back
Top