EDrawings/SolidWorks Batch Save As

Hi,

I am writing a custom program (C# .NET) to batch Save As SolidWorksfiles (.SLDASM, .SLDPRT, .SLDDRW) to their EDrawing equivalents. Ihave tried using the EDrawings viewer component to do this but itduplicates parts within the assembly (See Figure 1 -"save_as_edrawing.jpg"). I had our Engineering dept Save As throughSolidWorks and it works like a charm (See Figure 2 -"save_as_solidworks.jpg").

How would I do this using the SolidWorks API? I have only workedwith the EDrawings API. Also, what are the licensing issues aroundthis? I will not be viewing files through SolidWorks, onlyEDrawings. Another thought... I have been passing an empty stringthrough to the EModelControl Save function's CommandStringargument, is there a CommanString to stop the duplicate parts?(maybe a link that shows the possible CommandStrings and theirimapct?).

Thanks!

SolidworksEdrawings