Hello,
in c# how to add a new assembly from workingfolder to vault basic using VDF?
thanks for info.
best regards
Solved! Go to Solution.
Link copied
Hello,
in c# how to add a new assembly from workingfolder to vault basic using VDF?
thanks for info.
best regards
Solved! Go to Solution.
We recommend doing this through the CAD application; for example, the Inventor command manager API allows you to call the check-in all command. It is a default iLogic snippet in Inventor-Vault 2024 Vault Pro and newer versions. For Vault Basic, you can call it also if you use this code (instead of the iLogic delivered snippet:
Try
ThisDoc.Save
Dim oControlDef As Inventor.ControlDefinition
oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop")
oControlDef.Execute2(True)
Catch ex As Exception
Logger.Error("Undo Check-In failed; likely, the file wasn't checked out.")
End Try