Close “Unreconciled New Layers” notification

<?xml encoding=”UTF-8″>By Adam Nagy

For some reason in AutoCAD Mechanical 2015 the “Unreconciled New Layers” bubble notification does not close automatically, and this can caase issues later on.

Unreconciled

Kean already posted about how to create your own bubble notifications:
http://through-the-interface.typepad.com/through_the_interface/2008/04/different-ways.html

The same API also enables you to simply close these notifications. Here is a C# command that does that:

using System;
using Autodesk.AutoCAD.Runtime;
using acApp = Autodesk.AutoCAD.ApplicationServices.Application;
using Autodesk.AutoCAD.ApplicationServices;
namespace CsAcadAddIn
{
public class Class1
{
[CommandMethod("MyCommand")]
public void MyCommand()
{
Application.StatusBar.CloseBubbleWindows();
}
}
}
 

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading