Quantcast
Channel: Manufacturing DevBlog
Viewing all articles
Browse latest Browse all 516

Close "Unreconciled New Layers" notification

$
0
0

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(); 
        }
    }
}
 

Viewing all articles
Browse latest Browse all 516

Trending Articles