Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to export idw drawing to autocad dwg file.
on the idw drawing screen, file -> export -> dwg
Is there a way to export to a dwg file using ilogic rules?
The source below is simply a rule to output to pdf.
Dim xlsFile As String = "C:\Temp\test\data.xlsx"
oPrintMgr = ThisApplication.ActiveDocument.PrintManager pdfname = "filename" filePath = "C:\Temp\test"
oPrintMgr.Printer = "Microsoft Print to PDF" oPrintMgr.ColorMode = kPrintGrayScale oPrintMgr.Orientation = kLandscapeOrientation oPrintMgr.Scalemode = kCustomScale oPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale oPrintMgr.PaperSize = kPaperSizeA4 oPrintMgr.PrintToFile(filePath + "\" + pdfname + ".pdf") Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument oDrawDoc.Close
Solved! Go to Solution.