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!

Checking out Enterpirse PDM files with SW2010 API code

Status
Not open for further replies.

Killswitch2

Mechanical
Nov 18, 2010
4
0
0
CA
I'm creating a marco that opens a series of drawings (in my EPDM vault) and creates a PDF of each. I'd like to overwrite any existing PDF files with the new version. What I'm stuggling with is if the existing PDF isn't checked out by the user, the new one can't be saved.

Is there code that I can include in the macro that checks out each existing PDF before the save_as and then checks them back in after the new version is saved.

I'd like this to be transparent to the macro user.

Thanks,
Killswitch
 
Status
Not open for further replies.
Back
Top