I am trying to use a macro to retreive and save a file from PDMWorks. We're using SolidWorks 2016, I am stepping through the VB code and the vault connection works fine, but once I get to connection.Documents it freezes and eventually times out. Here's what I've got right now:
Dim connection As PDMWConnection
Set connection = CreateObject("PDMWorks.PDMWConnection")
connection.Login "username", "admin", "localhost"
Dim alldocs As PDMWDocuments
Dim doc As PDMWDocument
Set alldocs = connection.Documents
Set doc = connection.GetSpecificDocument ("102-056-01.SLDPRT")
I have tried to simplify the code as much as possible for now to try to identify the issue. The underlined line is as far as I get when stepping through the code. I would appreciate any thoughts or suggestions. I've tried from multiple machines, always with the same results.