Hi,
I need to copy an assembly file and all the files of the componentsof this assembly, from one folder to an other.
I open the assembly file, get all the file path of the components(with IComponent2::GetPathName).
Then I close the assembly file, copy all the files from the folderA to Folder B.
But when I open the assembly file in folder B, all the path of thecomponents are always in folder A.
Is there an other way to do that ?
Or how can I change the PathName of the components of an assemblyfile ?
Regards,
Benjamin.SolidworksApi macros
I need to copy an assembly file and all the files of the componentsof this assembly, from one folder to an other.
I open the assembly file, get all the file path of the components(with IComponent2::GetPathName).
Then I close the assembly file, copy all the files from the folderA to Folder B.
But when I open the assembly file in folder B, all the path of thecomponents are always in folder A.
Is there an other way to do that ?
Or how can I change the PathName of the components of an assemblyfile ?
Regards,
Benjamin.SolidworksApi macros
