public static void OnStartup(UIControlledApplication application)
        {
            RefPlaneUpdater rpupdater = new RefPlaneUpdater(application.ActiveAddInId);

            UpdaterRegistry.RegisterUpdater(rpupdater, true);

            ElementClassFilter refFilter = new ElementClassFilter(typeof(ReferencePlane));

            UpdaterRegistry.AddTrigger(rpupdater.GetUpdaterId(), refFilter, Element.GetChangeTypeElementAddition());
        }
        public static void OnShutdown(Autodesk.Revit.UI.UIControlledApplication application)
        {
            RefPlaneUpdater updater = new RefPlaneUpdater(application.ActiveAddInId);

            UpdaterRegistry.UnregisterUpdater(updater.GetUpdaterId());
        }