Message 1 of 3
".dwg" Export problem

Not applicable
10-13-2008
11:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Friends,
I have created a view in drawing template and i want to save it as ".dwg".
I implement following code to dump ". dwg". sometime It doesnot dump dwg file.
Can you please tell what is problem with code?
Is their any setting required to export ".dwg" file?
Sample Code:
I have created a view in drawing template and i want to save it as ".dwg".
I implement following code to dump ". dwg". sometime It doesnot dump dwg file.
Can you please tell what is problem with code?
Is their any setting required to export ".dwg" file?
Sample Code:
string dwgtemplate = Location + "\\Drawing\\DrawingTemplate.dwg";
m_DrawingDocument = (DrawingDocument)m_InvApplication.Documents.Open(dwgtemplate , true);
--------------Implmentation of Code to create Base view -----------
string outputDrawingPath = outputFolderPath + "\\Drawing.dwg";
m_DrawingDocument.SaveAs(outputDrawingPath , true);
m_DrawingDocument.Close(true);
Thanks & Regards,
Satyajeet