Kellan O'Connor

How do you read/write PDM Vault properties (such as Revision) from a Solidworks CAD API?

Discussion created by Kellan O'Connor on Jan 17, 2020
Latest reply on Jan 17, 2020 by Kellan O'Connor

I know SOLIDWORKS will unload and reload the document when file is checked-out an checked-in. I have tried this event: DPartDocEvents_FileReloadNotifyEventHandler but this event is firing confusingly (i-e it is only firing for SolidWorks.Interop.sldworks.PartDoc and not for SolidWorks.Interop.sldworks.AssemblyDoc) and sometimes this event totally not fired on checked-out an checked-in.


I know, we need a PDM vault database access for this but the SW add-in I created will be deployed to dozens of clients, so I don't think it would be good to ask credentials for their vault and the clients will not appreciate.

Other than that, I wanted to know if there is any other solution we can implement without creating PDM add-in which will communicate with my CAD add-in?