Inventor uses DWG True view whenever you import an AutoCAD file and it shows you that quick little preview. That preview engine IS DWG True View. Several problems have arisen from this decision of Autodesk's, first, DWG True view whenever opened (in this case by Inventor to preview the cad file before importing) will force itself to become the default dwg file opening program. EVEN IF YOU USE THE DWG LAUNCHER, it will set dwg true view as default. there is a registry key that can fix that, and I wrote a .net command to edit it, because I happens so frequently.
<CommandMethod("RegisterAutoCADDefault")>
Public Sub RegisterAutoCADDefault()
Try
TTSPaletteSet.isProcessing = True
'' Get the AutoCAD Applications key
Dim sProdKey As String = "Software\Autodesk\DwgCommon\shellex\apps"
Dim regAppsKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(sProdKey)
Dim apps() As String = regAppsKey.GetSubKeyNames()
Dim strAppAutoCAD As String = Nothing
For Each app As String In apps
If app.Contains("AutoCAD") Then strAppAutoCAD = app
Next
Microsoft.Win32.Registry.SetValue(regAppsKey.Name, "", strAppAutoCAD)
TTSPaletteSet.isProcessing = False
Catch ex As System.Exception
Dim eh As New ErrorHandler(ex)
eh.HandleIt()
End Try
End Sub
Second, it appears that DWG True view is now attempting to write log files to windows\system32\ BAD IDEA, this is most likely a bug in the true view program itself, looking for a folder, not finding it, and falling back to system folder instead. However system folder is protected, and that is why the writing of the log file fails. In addition the error message is encryptic because it is not handled until it has bubbled up, past the expected known error.
Uninstalling or disabling DWG True view has the following repercussions:
Vault and Inventor no longer have a dwg file previewing tool. When you use Inventor to import a dwg file, the previewer will be blank always. That's typically it, but without the previewer you can't select specific layers to import.
jvj
Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/