<?xml encoding=”UTF-8″>By Adam Nagy
Many Autodesk products are using the same .NET components or the UI, and when debugging Inventor from Visual Studio they can make the Output/Debug window quite noisy, and can also slow down things considerably.
Same inside AutoCAD:
– Making AutoCAD less noisy when debugging
– Solution for many errors when debugging my first plug-in with VB.net Express 2010
And the solution is also the same here too.
In my Output window I saw that most entries were created by these two components: System.Windows.Data and System.Windows.Media.Animation.
So I removed them by adding this section in the Inventor.exe.config file:
<system.diagnostics>
<sources>
<source name="System.Windows.Data"
switchName="SourceSwitch">
<listeners>
<remove name="Default" />
</listeners>
</source>
<source name="System.Windows.Media.Animation"
switchName="SourceSwitch">
<listeners>
<remove name="Default" />
</listeners>
</source>
</sources>
</system.diagnostics>

Leave a Reply