Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm getting some strange behaviour when saving my configuration with the following code:
oDDoc As DrawingDocument = ThisDrawing.Document
oExcelDoc = "C:\Data\exceltest.xlsm"
oDocName = "TestName"
oMapNumber = GoExcel.CellValue(oExcelDoc, oESheet, "A1")
Dim oDestPath As String = "C:\Data\" & oMapNumber & "\" 'Directory
Dim oDwgFile As String = oDestPath & oDocName & ".dwg"
Dim oPdfFile As String = oDestPath & oDocName & ".pdf"
oDDoc.SaveAs(oDwgFile, True)
oDDoc.SaveAs(oPdfFile, True)
I get the following error:
What i find suprising is that it does generate the .dwg correctly, even though it throws an error.
However it does not generate the .pdf?
EDIT: trying to export the drawing as .pdf manually through the Inventor UI also doesn't work.. 'Save as type' field is empty aswell:
Solved! Go to Solution.