Example #1
0
 public SpatialFieldUpdater(AddInId id, ElementId sphere, ElementId view)
 {
     addinID = id;
      sphereID = sphere;
      viewID = view;
      updaterID = new UpdaterId(addinID, new Guid("FBF2F6B2-4C06-42d4-97C1-D1B4EB593EFF"));
 }
Example #2
0
        public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            UIApplication uiapp = commandData.Application;
            UIDocument    uidoc = uiapp.ActiveUIDocument;
            Application   app   = uiapp.Application;
            Document      doc   = uidoc.Document;

            m_document  = doc;
            m_uiapp     = uiapp;
            m_thisAppId = uiapp.Application.ActiveAddInId;

            DockablePane pane = uiapp.GetDockablePane(App.paneId);

            if (pane != null)
            {
                if (!pane.IsShown())
                {
                    pane.Show();
                }
                else
                {
                    pane.Hide();
                }
            }

            return(Result.Succeeded);
        }
Example #3
0
        Result IExternalApplication.OnStartup(UIControlledApplication application)
        {
            appCommand = this;
            m_app      = application;
            try
            {
                m_app.CreateRibbonTab(tabName);
            }
            catch { }

            RibbonPanel setupPanel      = m_app.CreateRibbonPanel(tabName, "Project Setup");
            string      currentAssembly = System.Reflection.Assembly.GetAssembly(this.GetType()).Location;

            Assembly   assembly   = Assembly.GetExecutingAssembly();
            PushButton pushButton = setupPanel.AddItem(new PushButtonData("Settings", "Settings", currentAssembly, "HOK.DoorMonitor.SettingCommand")) as PushButton;

            pushButton.LargeImage = LoadBitmapImage(assembly, "settings.png");

            //doorFail = new DoorFailureProcessor();
            //Autodesk.Revit.ApplicationServices.Application.RegisterFailuresProcessor(doorFail);
            //Autodesk.Revit.ApplicationServices.ControlledApplication.RegisterFailuresProcessor(doorFail);

            thisAppId   = application.ActiveAddInId;
            doorUpdater = new DoorUpdater(thisAppId);

            application.ControlledApplication.DocumentOpened     += RegisterDoorUpdaterOnOpen;
            application.ControlledApplication.FailuresProcessing += CheckDoorWarning;

            return(Result.Succeeded);
        }
        private RevitAddInManifest GetCurrentManifest(string fullPathDll, AddInId addInId)
        {
            var dirPath = Path.GetDirectoryName(fullPathDll);
            //var manifestPath = Path.Combine(dirPath, addinFileName);
            var addins = AddInManifestUtility.GetRevitAddInManifests(dirPath, new Dictionary <string, string>());

            if (addins == null || addins.Count == 0)
            {
                return(null);
            }

            RevitAddInManifest searchedAddin = null;

            foreach (var addin in addins)
            {
                foreach (var command in addin.AddInCommands)
                {
                    var cmdId = command.AddInId;
                    if (cmdId.Equals(addInId.GetGUID()) == false)
                    {
                        continue;
                    }

                    searchedAddin = addin;
                    break;
                }

                if (searchedAddin != null)
                {
                    break;
                }
            }
            //return AddInManifestUtility.GetRevitAddInManifest(manifestPath);
            return(searchedAddin is null ? new RevitAddInManifest() : searchedAddin);
        }
 public PipeParameterUpdater(AddInId id, string excelFileFullName, string sheetName)
 {
     addinId    = id;
     updaterId  = new UpdaterId(addinId, new Guid("b0111042-f770-491b-b452-7353e49b2e35"));
     fullName   = excelFileFullName;
     sheet1Name = sheetName;
 }
        //Remove warning for needed add-in
        //public static void SetIsUpdaterOptional(UpdaterId id, bool isOptional);
        public RenameViewUpdater(AddInId id)
        {
            m_appId = id;
            m_updaterId = new UpdaterId(m_appId, new Guid("DA24DE4D-1440-467C-A50E-CF87F2AB9978"));

            //SetIsUpdaterOptional(m_updaterId, false);
        }
 public static void UpdaterOff(AddInId activeAddInId, ref CopingDistanceUpdater updater)
 {
     if (UpdaterRegistry.IsUpdaterRegistered(updater.GetUpdaterId()))
     {
         UpdaterRegistry.UnregisterUpdater(updater.GetUpdaterId());
     }
 }
Example #8
0
        /// <summary>
        /// Constructor to initialize the fields and create the winder stairs.
        /// It also registers the updater if addinId is not null.
        /// </summary>
        /// <param name="winder">Winder to create winder stairs</param>
        /// <param name="crvElements">Curve Elements to control the winder shape</param>
        /// <param name="rvtDoc">Revit Document</param>
        /// <param name="addinId">Active AddInId</param>
        /// <param name="drawSketch">Switch to control the winder sketch drawing</param>
        public WinderUpdater(Winder winder, IList <ElementId> crvElements,
                             Document rvtDoc, AddInId addinId, bool drawSketch)
        {
            m_curveElements = crvElements;
            m_winder        = winder;
            m_drawSketch    = drawSketch;

            // Create the winder stairs
            GenerateWinderStairs(rvtDoc);

            // Register the updater if addinId is not null.
            if (addinId != null)
            {
                // Register the updater
                m_updaterId = new UpdaterId(addinId, Guid.NewGuid());
                UpdaterRegistry.RegisterUpdater(this, rvtDoc);

                // Add modification triggers
                UpdaterRegistry.AddTrigger(m_updaterId, rvtDoc,
                                           m_curveElements, Element.GetChangeTypeAny());

                // Add deletion trigger
                List <ElementId> deleteParents = new List <ElementId>();
                deleteParents.AddRange(crvElements);
                var stairRun = rvtDoc.GetElement(m_winderRunId) as StairsRun;
                deleteParents.Add(stairRun.GetStairs().Id);
                UpdaterRegistry.AddTrigger(m_updaterId, rvtDoc,
                                           deleteParents, Element.GetChangeTypeElementDeletion());
            }
        }
Example #9
0
        public Result OnStartup(UIControlledApplication application)
        {
            try
            {
                appCommand = this;
                m_app      = application;

                AddInId appId = m_app.ActiveAddInId;
                addInGuid = appId.GetGUID();
                addInName = appId.GetAddInName();

                doorUpdater     = new DoorUpdater(appId);
                dtmUpdater      = new DTMUpdater(appId);
                revisionUpdater = new RevisionUpdater(appId);

                socketHandler = new SocketHandler(doorUpdater, dtmUpdater, revisionUpdater);
                extEvent      = ExternalEvent.Create(socketHandler);

                LogUtil.InitializeLog();
                LogUtil.AppendLog("Mission Control AddIn Started");

                m_app.ControlledApplication.DocumentOpening    += CollectConfigurationOnOpening;
                m_app.ControlledApplication.DocumentOpened     += RegisterUpdatersOnOpen;
                m_app.ControlledApplication.FailuresProcessing += FailureProcessor.CheckFailure;
                m_app.ControlledApplication.DocumentClosing    += UnregisterUpdaterOnClosing;
            }
            catch (Exception ex)
            {
                string message = ex.Message;
                LogUtil.AppendLog("OnStartup:" + ex.Message);
            }
            return(Result.Succeeded);
        }
        public ElevationWatcherUpdater(AddInId id)
        {
            _appId = id;

            _updaterId = new UpdaterId(_appId, new Guid(
                                                   "fafbf6b2-4c06-42d4-97c1-d1b4eb593eff"));
        }
 public SpatialFieldUpdater(AddInId id, ElementId sphere, ElementId view)
 {
     addinID   = id;
     sphereID  = sphere;
     viewID    = view;
     updaterID = new UpdaterId(addinID, new Guid("FBF2F6B2-4C06-42d4-97C1-D1B4EB593EFF"));
 }
Example #12
0
            public ElevationWatcherUpdater(AddInId id)
            {
                _appId = id;

                _updaterId = new UpdaterId(_appId, new Guid(
                                               "fafbf6b2-4c06-42d4-97c1-d1b4eb593eff"));
            }
        public static DirectShape CreateDirectShape(
            Document doc,
            Solid transientSolid,
            string dsName)
        {
            ElementId catId = new ElementId(
                BuiltInCategory.OST_GenericModel);

            AddInId addInId = doc.Application.ActiveAddInId;

            DirectShape ds
                = DirectShape.CreateElement(doc, catId,
                                            addInId.GetGUID().ToString(), "");

            if (ds.IsValidGeometry(transientSolid))
            {
                ds.SetShape(new GeometryObject[] {
                    transientSolid
                });
            }
            else
            {
                TessellatedShapeBuilderResult result
                    = GetTessellatedSolid(doc, transientSolid);

                ds.SetShape(result.GetGeometricalObjects());
            }

            ds.Name = dsName;

            return(ds);
        }
Example #14
0
        public Result OnStartup(UIControlledApplication application)
        {
            try
            {
                appCommand = this;
                m_app      = application;
                thisAppId  = application.ActiveAddInId;
                addInGuid  = thisAppId.GetGUID(); //9C4D37B2-155D-4AC8-ACCF-383D86673F1C
                addInName  = thisAppId.GetAddInName();

                try
                {
                    m_app.CreateRibbonTab(tabName);
                }
                catch { }

                RibbonPanel setupPanel      = m_app.CreateRibbonPanel(tabName, "DTM Tool");
                string      currentAssembly = System.Reflection.Assembly.GetAssembly(this.GetType()).Location;

                Assembly   assembly   = Assembly.GetExecutingAssembly();
                PushButton pushButton = setupPanel.AddItem(new PushButtonData("Admin", "Admin", currentAssembly, "HOK.ElementWatcher.AdminCommand")) as PushButton;
                pushButton.LargeImage = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(Properties.Resources.dtm32.GetHbitmap(), IntPtr.Zero, System.Windows.Int32Rect.Empty, BitmapSizeOptions.FromEmptyOptions());

                dtmUpdater = new DTMUpdater(thisAppId);

                application.ControlledApplication.DocumentOpened     += RegisterElementUpdaterOnOpen;
                application.ControlledApplication.FailuresProcessing += CheckElementWarning;
            }
            catch (Exception ex)
            {
                string message = ex.Message;
                MessageBox.Show("Failed to initialize DTM Tool.\n" + ex.Message, "DTM Initialization", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            return(Result.Succeeded);
        }
Example #15
0
        public static void Register(AddInId addInId)
        {
            ISharedParameterManager parameterManager = new SharedParameterManager();
            PilingCoordinator       coordinator      = new PilingCoordinator(parameterManager);

            PilingUpdater.Register(addInId, coordinator);
            CoordinatePilingUpdater.Register(addInId, coordinator);
        }
Example #16
0
        public void lodApp_DocumentClosing(object sender, DocumentClosingEventArgs args)
        {
            AddInId val = args.get_Document().get_Application().get_ActiveAddInId();

            foreach (UpdaterId registeredUpdater in registeredUpdaters)
            {
                UpdaterRegistry.UnregisterUpdater(registeredUpdater);
            }
        }
 public static void UpdaterOn(AddInId activeAddInId, ref CopingDistanceUpdater updater)
 {
     if (!UpdaterRegistry.IsUpdaterRegistered(updater.GetUpdaterId()))
     {
         UpdaterRegistry.RegisterUpdater(updater, true);
         ElementCategoryFilter filter = new ElementCategoryFilter(BuiltInCategory.OST_StructuralFraming);
         UpdaterRegistry.AddTrigger(updater.GetUpdaterId(), filter, Element.GetChangeTypeGeometry());
     }
 }
Example #18
0
 public BrickDimUpdater(AddInId id)
 {
     addinID = id;
     // UpdaterId that is used to register and
     // unregister updaters and triggers
     updaterID = new UpdaterId(addinID, new Guid(
                                   "63CDBB88-5CC4-4ac3-AD24-52DD435AAB25"));
     Debug.Print("guid");
 }
Example #19
0
 public DTMUpdater(AddInId addinId)
 {
     updaterId = new UpdaterId(addinId, updaterGuid);
     catDictionary.Add("Grids", BuiltInCategory.OST_Grids);
     catDictionary.Add("Levels", BuiltInCategory.OST_Levels);
     catDictionary.Add("Views", BuiltInCategory.OST_Views);
     catDictionary.Add("Scope Boxes", BuiltInCategory.OST_VolumeOfInterest);
     catDictionary.Add("RVT Links", BuiltInCategory.OST_RvtLinks);
 }
Example #20
0
        public static void StartUp(AddInId id)
        {
            MFElePlaced updater = new MFElePlaced(id);

            UpdaterRegistry.RegisterUpdater(updater, true);
            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(),
                                       new ElementClassFilter(typeof(FamilyInstance)),
                                       Element.GetChangeTypeElementAddition());
        }
Example #21
0
        public RevisionUpdater(AddInId addInId, Guid updaterGuid, SheetManagerConfiguration config)
        {
            m_appId         = addInId;
            m_updaterId     = new UpdaterId(m_appId, updaterGuid);
            linkedProjectId = config.ModelId;
            configuration   = config;

            dataManager = new UpdaterDataManager(configuration.DatabaseFile);
            CollectRevisionParamIds();
        }
            public SimpleUpdater(
                Document doc,
                AddInId addInId)
            {
                _updater_id = new UpdaterId(
                    addInId, new Guid(Id));

                RegisterUpdater(doc);
                RegisterTriggers();
            }
Example #23
0
        public Result OnStartup(UIControlledApplication application)
        {
            AddInId m_appId = new AddInId(new Guid("F2386B36-453D-4D08-A03B-2C5F78DF0421"));
            string  assemblyfullfilepath = Assembly.GetExecutingAssembly().Location;
            string  assamblyPath         = Path.GetDirectoryName(assemblyfullfilepath);

            funcPath = Directory.GetDirectories(assamblyPath).Where(x => x.Contains("VEABIM")).FirstOrDefault();
            AddMenu(application, assemblyfullfilepath);
            return(Result.Succeeded);
        }
Example #24
0
        private static void RegisterUpdater(AddInId id)
        {
            ElementId        FamName = new ElementId(BuiltInParameter.SYMBOL_NAME_PARAM);
            MFTypeNameChange updater = new MFTypeNameChange(id);

            UpdaterRegistry.RegisterUpdater(updater, true);
            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(),
                                       new ElementClassFilter(typeof(FamilySymbol)),
                                       Element.GetChangeTypeParameter(FamName));
        }
Example #25
0
        internal static void Register(AddInId addInId, PilingCoordinator pilingCoordinator)
        {
            CoordinatePilingUpdater updater = new CoordinatePilingUpdater(addInId, pilingCoordinator);

            UpdaterRegistry.RegisterUpdater(updater);

            ElementCategoryFilter basepointFilter = new ElementCategoryFilter(BuiltInCategory.OST_ProjectBasePoint);

            UpdaterRegistry.AddTrigger(GetUpdaterId(), basepointFilter, Element.GetChangeTypeAny());
        }
Example #26
0
        internal static void Register(AddInId addInId, PilingCoordinator coordinator)
        {
            PilingUpdater updater = new PilingUpdater(addInId, coordinator);

            UpdaterRegistry.RegisterUpdater(updater);

            ElementCategoryFilter filter = new ElementCategoryFilter(BuiltInCategory.OST_StructuralFoundation);

            UpdaterRegistry.AddTrigger(GetUpdaterId(), filter, Element.GetChangeTypeGeometry());
            UpdaterRegistry.AddTrigger(GetUpdaterId(), filter, Element.GetChangeTypeElementAddition());
        }
Example #27
0
        // constructor takes the AddInId for the add-in associated with this updater
        public DynamoUpdater(AddInId id, ControlledApplication app)
        {
            m_appId = id;
            m_updaterId = new UpdaterId(m_appId, new Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")); //[Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")]

            _updateDict[ChangeTypeEnum.Delete] = new Dictionary<ElementId, DynElementUpdateDelegate>();
            _updateDict[ChangeTypeEnum.Modify] = new Dictionary<ElementId, DynElementUpdateDelegate>();
            _updateDict[ChangeTypeEnum.Add] = new Dictionary<ElementId, DynElementUpdateDelegate>();

            app.DocumentChanged += Application_DocumentChanged;
        }
Example #28
0
        // constructor takes the AddInId for the add-in associated with this updater
        public DynamoUpdater(AddInId id, ControlledApplication app)
        {
            m_appId     = id;
            m_updaterId = new UpdaterId(m_appId, new Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")); //[Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")]

            _updateDict[ChangeTypeEnum.Delete] = new Dictionary <ElementId, DynElementUpdateDelegate>();
            _updateDict[ChangeTypeEnum.Modify] = new Dictionary <ElementId, DynElementUpdateDelegate>();
            _updateDict[ChangeTypeEnum.Add]    = new Dictionary <ElementId, DynElementUpdateDelegate>();

            app.DocumentChanged += Application_DocumentChanged;
        }
Example #29
0
        public static void RegisterUpdater(AddInId id)
        {
            ObjStyleNetworkUpdater updater = new ObjStyleNetworkUpdater(id);

            UpdaterRegistry.RegisterUpdater(updater, true);
            ElementId pid = new ElementId(BuiltInParameter.FAMILY_ELEM_SUBCATEGORY);

            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(),
                                       new ElementClassFilter(typeof(GenericForm)),
                                       Element.GetChangeTypeParameter(pid));
        }
Example #30
0
        //////////////////////////////////////////////////////////////////
        // creating and registering our updaters on Revit startup

        public Result OnStartup(Autodesk.Revit.UI.UIControlledApplication app)
        {
            // this application's Id is the currently active AddIn Id:
            // (the Id is taken form the manifest file(AddIn) of this application)

            m_thisAppId = app.ActiveAddInId;

            app.ControlledApplication.DocumentOpened += RegisterSectionUpdaterOnOpen;

            return(Result.Succeeded);
        }
Example #31
0
        //////////////////////////////////////////////////////////////////
        // creating and registering our updaters on Revit startup
        public Result OnStartup(Autodesk.Revit.UI.UIControlledApplication app)
        {
            // this application's Id is the currently active AddIn Id:
             // (the Id is taken form the manifest file(AddIn) of this application)

             m_thisAppId = app.ActiveAddInId;

             app.ControlledApplication.DocumentOpened += RegisterSectionUpdaterOnOpen;

             return Result.Succeeded;
        }
        public static void RegisterUpdater(AddInId id)
        {
            ObjStyleUpdater updater = new ObjStyleUpdater(id);

            UpdaterRegistry.RegisterUpdater(updater, true);
            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(),
                                       new ElementClassFilter(typeof(GenericForm)),
                                       Element.GetChangeTypeGeometry());
            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(),
                                       new ElementClassFilter(typeof(GenericForm)),
                                       Element.GetChangeTypeElementAddition());
        }
Example #33
0
        public SheetUpdater(AddInId addInId, Guid updaterGuid, SheetManagerConfiguration config)
        {
            m_appId         = addInId;
            m_updaterId     = new UpdaterId(m_appId, updaterGuid);
            linkedProjectId = config.ModelId;
            configuration   = config;

            dataManager        = new UpdaterDataManager(configuration.DatabaseFile);
            rvtSheetParameters = dataManager.GetSheetParameters();

            //update project id
            CollectSheetParamIds();
        }
        public Result Execute(
            ExternalCommandData commandData,
            ref string message,
            ElementSet elements)
        {
            UIApplication uiapp   = commandData.Application;
            Document      doc     = uiapp.ActiveUIDocument.Document;
            AddInId       addInId = uiapp.ActiveAddInId;

            SimpleUpdater su = new SimpleUpdater(doc, addInId);

            return(Result.Succeeded);
        }
Example #35
0
        public static void CreateAndRegister(AddInId addinId)
        {
            var updater = new CO2eFieldUpdater(addinId);

            if (UpdaterRegistry.IsUpdaterRegistered(updater.GetUpdaterId()))
            {
                UpdaterRegistry.UnregisterUpdater(updater.GetUpdaterId());
            }
            UpdaterRegistry.RegisterUpdater(updater);

            var filter = Settings.CreateFilterForElementsWithCO2eParameter();

            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(), filter, Element.GetChangeTypeGeometry());
            UpdaterRegistry.AddTrigger(updater.GetUpdaterId(), filter, Element.GetChangeTypeElementDeletion());
        }
Example #36
0
        private CoordinatePilingUpdater(AddInId id, PilingCoordinator coordinator)
        {
            if (id == null)
            {
                throw new ArgumentNullException(nameof(id));
            }

            if (coordinator == null)
            {
                throw new ArgumentNullException(nameof(coordinator));
            }

            _updaterId         = new UpdaterId(id, new Guid("a066aabd-7ccd-43c3-9a86-b2089ebabb99"));
            _pilingCoordinator = coordinator;
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="addInId">Add-in id of the 
        /// add-in associated with this updater.</param>
        public DeletionUpdater(AddInId addInId)
        {
            _appId = addInId;

            _updaterId = new UpdaterId(_appId, new Guid(
              "6f453eba-4b9a-40df-b637-eb72a9ebf008"));

            _failureId = new FailureDefinitionId(
              new Guid("33ba8315-e031-493f-af92-4f417b6ccf70"));

            FailureDefinition failureDefinition
              = FailureDefinition.CreateFailureDefinition(
                _failureId, FailureSeverity.Error,
                "PreventDeletion: Sorry, this element cannot be deleted. Please contact your BIM Manager to find out why.");
        }
Example #38
0
        public Result OnStartup( UIControlledApplication a )
        {
            // initialise this application's id from the
              // currently active add-in id taken from the
              // this application's manifest file:

              _appId = a.ActiveAddInId;

              // instantiate a dummy updater
              // and register it with Revit

              _updater = new DummyUpdater( _appId );
              _updater.Register();

              Debug.Print( "OnStartup: registered "
            + _updater.ToString() );

              return Result.Succeeded;
        }
        /***********************************************************************************************************************/


        internal UpdaterAdded(AddInId addInId)
        {
            _updaterId = new UpdaterId(addInId, new Guid("{CD811131-3D32-4C44-B995-A0167FA85703}"));
        }
 public LocationUpdater(AddInId id)
 {
     m_appId = id;
     m_updaterId = new UpdaterId(m_appId, new Guid("42ac4134-15dd-466e-93c9-4a1dc5d863ce"));
 }
Example #41
0
 public SpatialFieldUpdater(MultithreadedCalculationContainer _container, AddInId addinId)
 {
     containerOld = _container;
     s_updaterId = new UpdaterId(addinId, new Guid("FBF2F6B2-4C06-42d4-97C1-D1B4EB593EFF"));
 }
Example #42
0
 /// <summary>
 /// Constructor 
 /// </summary>
 public WindowDoorUpdater(AddInId id)
 {
   m_updaterId = new UpdaterId(id, new Guid("EF43510F-38CB-4980-844C-72174A674D56"));
 }
Example #43
0
 internal DummyUpdater( AddInId addinID )
 {
     _updaterId = new UpdaterId( addinID, _guid );
 }
Example #44
0
 // constructor takes the AddInId for the add-in associated with this updater
 public PhaseGraphicsUpdater(AddInId id)
 {
     m_appId = id;
     m_updaterId = new UpdaterId(m_appId, new Guid(PhaseGraphicsGUID));
 }
Example #45
0
 protected ElementTypeSpecificUpdater(AddInId id)
 {
     _id = id;
     _updaterId = new UpdaterId(_id, Guid.Parse("51c0be9b-07a8-443a-be8c-21db815b17e7"));
 }
Example #46
0
 internal SectionUpdater(AddInId addinID)
 {
     m_updaterId = new UpdaterId(addinID, new Guid("FBF3F6B2-4C06-42d4-97C1-D1B4EB593EFF"));
      m_schemaId = new Guid("4DE4BE80-0857-4785-A7DF-8A8918851CB2");
 }
Example #47
0
 public CO2eFieldUpdater(AddInId id)
 {
     addinID = id;
     updaterID = new UpdaterId(addinID, new Guid("010275A1-6560-48DA-8F60-71472270A984"));
 }
Example #48
0
 public SunPathUpdater(AddInId id):base(id){}
Example #49
0
 // constructor takes the AddInId for the add-in associated with this updater
 public DynamoUpdater(AddInId id)
 {
     m_appId = id;
     m_updaterId = new UpdaterId(m_appId, new Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")); //[Guid("1F1F44B4-8002-4CC1-8FDB-17ACD24A2ECE")]
 }
        /***********************************************************************************************************************/


        internal UpdaterModified(AddInId addInId)
        {
            _updaterId = new UpdaterId(addInId, new Guid("{1C79F0B7-8D98-44BC-96D8-0A20823CD50A}"));
        }