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?
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.
What version of Inventor are you using ?
Are your project file, set as shared project ?
Is the ReservedForWriteName, the same as username in Inventor ?
Have you changed Dim invApprenticeDoc As ApprenticeServerDocument
to dim odoc as inventor.document ?
the Apprenticeserver does not work in VBA
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.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!