Saving of CATproduct Document and its sub assemblies

Vikas Shetty

Saving of CATproduct Document and its sub assemblies

 

Hi

In order to save each file in the CATProduct document.I am Opening the file(Product/part)  and using "Saveas" command. Performance of the code decreases because of opening of file.

This is the code i am using to save files

 Dim DocsOfDelmia As Documents
 Set DocsOfDelmia = DELMIA.Documents

SourceFilepth ="c:\temp\Part1.CATPart"

PreservefilePath="D:\saveFolder\Part1.CATPart"

set SourceDoc = DocsOfDelmia.Open(SourceFilepth)     'opening each file in a new window

  SourceDoc.SaveAs (PreservefilePath)    ' saving the file in a specific path

 If any one Knows and alternative method to save File Please Reply.

Thank yOU

vikas

 

Ajay Balappanavar

RE: Saving of CATproduct Document and its sub assemblies
(in response to Vikas Shetty)
Use ' File -> save management'

Jaenudin Rifai

RE: Saving of CATproduct Document and its sub assemblies
(in response to Vikas Shetty)
U can use File->Save Management->Save as to same path in the same folder

Grzegorz Traczyk

RE: Saving of CATproduct Document and its sub assemblies
(in response to Vikas Shetty)
Or you can use function File -> Send to -> Directory