Check In/Out

Check In/Out

Anonymous
Not applicable
369 Views
4 Replies
Message 1 of 5

Check In/Out

Anonymous
Not applicable
Is there a way of setting this in VBA? I found
document.ReservedForWriteByMe but I can not set it.

Kathy Johnson
0 Likes
370 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
I have done it but it requires projects set a specific way and you have
to set a couple of things in a specific order.
This is how I wrote the utility for "un-reserving" components.

What, exactly are you trying to do? Perhaps I can help but to be
honest, I haven't tried to completely mimic the entire checkout
process, only clearing it up or just reserving the parts.

KJohnson wrote:

>Is there a way of setting this in VBA? I found
>document.ReservedForWriteByMe but I can not set it.
>
>Kathy Johnson
>
>
>
>
0 Likes
Message 3 of 5

Anonymous
Not applicable
I have an assembly drawing and the parts drawing. Checking them out is not
a problem because you will open them anyway. But I would like a way to
check them in all at once without having all the part drawings open. I
looked at your reserve/unresevere program but I could not figure out how to
check in a folder.

Kathy Johnson
0 Likes
Message 4 of 5

Anonymous
Not applicable
The check in process does more than just un-reserve them. I haven't
played with it much but could. If I remember correctly, there are a
number of things which occur. You need to make copies into each of the
OldVersion directories. You need to release the reserve flags and copy
the Workspace models into the matching Workgroup area. What I don't
know is if you need to set flags back in the Workgroup area. You should
be able to open on of the Workgroup files (checked in) and look at the
various reserved objects to see how they are set. If they are all
clear, you could concievably just use my utility in Workspace to
unreserve them and copy them up to the Workgroup area.

Like I said, I have not played with that very much so am not sure. At
one point, my goal was to make the utility do a full checkin but I never
got back to working on it.

KJohnson wrote:

>I have an assembly drawing and the parts drawing. Checking them out is not
>a problem because you will open them anyway. But I would like a way to
>check them in all at once without having all the part drawings open. I
>looked at your reserve/unresevere program but I could not figure out how to
>check in a folder.
>
>Kathy Johnson
>
>
>
>
0 Likes
Message 5 of 5

NeedMoreCowbell
Explorer
Explorer
I figured out how to unreserve files from the VBA window (including files not locked by myself), but I can't seem to make the same code work via Apprentice server. Any tips?

I know this is a very old discussion thread but maybe someone is still listening??

Thanks,
-Joe
0 Likes