File Reference Issue with SolidWorks Document Manager API

Hi ,

I have an issue when reading the File reference. Say If I have an assembly in  C:\\temp. I'm Making Pack & go and pasting it in C:\\Test.If i get the assembly document using GetDocument and search for the file reference, The file still refers the older location.The only way i found to resolve the issue is through running the Solidworks Task scheduler. Is there any other methods?? Waiting for your response.

Regards,

Vignesh

SolidworksApi macros
Answers 3
VN
VN 2017-05-10 Best Answer

Any Updates on this case ??

DG
DG 2017-05-11

Are you doing pack and go via API? Also are there external references involved?

VN
VN 2017-05-12

Hi Deepak,

Thank you for your reply.Before using this api, i used pack & go method manually to copy files from one folder to another folder .I'm trying to use Solidworks Document Manager APi call Getdocument to get the particular document . Then i'm using the configuration property  and getting the components using getcomponents. But if i look into the properties, the files reference is showing in older reference(old folder only).Is there any other way to solve this issue?

Regards,

Vignesh