- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to export some Inventor dwg's to AutoCAD dwg's.
The issue is they are always created in a zip file. I have tried the following and it does not work:
Dim DWGAddIn As TranslatorAddIn = ThisApplication.ApplicationAddIns.ItemById("{C24E3AC2-122E-11D5-8E91-0010B541CD80}")
Dim oDwgOptions As NameValueMap = ThisApplication.TransientObjects.CreateNameValueMap
oDwgOptions.Value("USE TRANSMITTAL") = "No"
Dim oContext As TranslationContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = Inventor.IOMechanismEnum.kFileBrowseIOMechanism
Call DWGAddIn.SaveCopyAs(oDwgDog, oContext, oDwgOptions, oData)
I would rather not use an ini file as this will be run on many different computers .
any help would be greatly appreciated,
thanks,
John
Solved! Go to Solution.