ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SJStefan Jaekel27/03/2024

Hello,

perhaps someone can help us with an issue regarding the unlocking of a file.

In PDM 2023 we want to copy a file and check in the new file with an AddIn.

We use the following VB.net code:

Try

     Dim vault2 As IEdmVault7 = Nothing
     If vault1 Is Nothing Then
         vault1 = New EdmVault5()
     End If
     vault2 = DirectCast(vault1, IEdmVault7)
 

     If Not vault1.IsLoggedIn Then
'Log into selected vault as the current use