Hello,
I have stumbled in the following problem. I want to rename a file that is in check in and change manually the references within its parents (drawing, assembly). When I change the reference within the drawing, after saving, the drawing becomes automatically check out by me (reserved for write). How can I check in the file automatically?
I was hoping to get an answer on this isssue at it starts to be important to me.
If I have a file that is ReservedForWriteByMe, how can I commit (Check In) the file in a shared project?
This might help you
René J
Hello,
I have tried your code but it does not seem to work for me. Inventor fails when I try to set ReservedForWriteByMe = false. I am not using Apprentice, but Inventor application. I have followed your steps, but maybe I am missing something. Any ideeas?
These documents have been checked out when saving, I am trying to put them in check in to spare the user of some problems.
Thanks
Irina
What version of Inventor are you using ?
Are your project file, set as shared project ?
Is the ReservedForWriteName, the same as username in Inventor ?
René J
I am using Inventor 10.
The project type is in fact Semi-Isolated.
And yes the ReservedForWriteName is the same as the username in Inventor.
Have you changed Dim invApprenticeDoc As ApprenticeServerDocument
to dim odoc as inventor.document ?
the Apprenticeserver does not work in VBA
René J
No, I am not using ApprenticeDocument, I am using Inventor.Document that also has all the required properties. My add-in runs in Inventor so I can not use Apprentice.
If I remember right,
Shared project is reserveforwrite the files on the server.
Semi-Isolated is copy the file from the server
to your workspace on your pc (like vault).
I think you have to checkin the file on the server.
René J
Something more about Semi isolate
If the file in your workspace is changed, you have to copy the file
from workspace to the server location before checked in .
René J
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/fullfilename/m-p/1809937/highlight/tru...
René J
Can't find what you're looking for? Ask the community or share your knowledge.