Convert .dft to .dxf

 

Hello Community,

I'm wrting a Programm that trys to conert a .dft Document into a .dxf Document. If the .dft Document has only one sheet there is no problem. But if the .dft Document has more than one sheet SE converts only the first sheet into a .dxf Document and ignores the others. Can someone help me and give me some hints how to convert all sheets from the .dft document to a .dxf Document whitch contains all Sheets?

Atm i use this Code (c#): 

FilePath = ..\MyDoc.dxf

p_SolidEdgeDraftDoc.SaveAs(FilePath, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);

 

 

King regards

Philipp

 

Posted by: Philipp Streicher
Post date: 11/11/2009 8:33:15 PM

1 REPLY

RE: Convert .dft to .dxf

 

Okay i know now what the problem was...

i don't know exactly why, but you have to write this codeline bevore you call your SaveAs() Method:

p_SolidEdgeDoc.Sheets.Item(1).Activate();

I guess this activates the sheets and than SolidEdge can convert all sheets into one .dxf File.

 

Regards

Philipp

 

 

Posted by: Philipp Streicher
Post date: 11/15/2009 11:19:45 PM