I'm attempting to create a macro to check in a folder of solidworks files using the Vault Add-in.
Does anyone have a macro for this type of job?
I attempted to use AI to create a macro, but it doesn't know the specific API call or command for the Vault Add-in to Check In a file. I'll post below what I received from ChatGPT. Maybe someone can help me fill in the blanks, or provide me with a macro or workflow that you use.
We have hundreds of Solidworks files that we need to get into our system.
Thanks in advance.
Solved! Go to Solution.
Solved by Markus.Koechl. Go to Solution.
The Vault Add-In for Solidworks installs an Autoloader for Solidworks files. This is the supported path to check multiple files in bulk mode. I wonder if it resolves your task without writing any macro and putting effort into its error handling.

Amazing. I have another question. Is there a way to read solidworks file properties and map them to corresponding Vault iproperties on check-in?
Yes, once you install Vault for Solidworks on the client and the server, you should see the property provider that allows mapping properties as usual.

Autoloader for SolidWorks has known issues that have never been addressed. it will work fine on a very small data set but anything of significant size will never happen. Development is aware of the issue but since I could never get anything resolved, we created our own file loader to handle this task.
Can't find what you're looking for? Ask the community or share your knowledge.