- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found the line of code causing the issue.
DrawingDocument OutDWGDoc = (DrawingDocument)m_InventorApp.Documents.Open(TemplateFilename, true);
Was causing the issue I changed it to
DrawingDocument OutDWGDoc = (DrawingDocument)m_InventorApp.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, TemplateFilename, false);
and it now runs on the client machines.
Anyone know what could be happening here? Even though the issue is solved I am scratching my head understanding why this is even an issue. All I did was instead of opening the document in the inventor instance I add the document to the inventor instance.
The strange thing is both work fine on my computers I personally tested on but the Open call fails on all of one of our clients machines but Add works fine for them. What setting or configuration could be causing this?