예제 #1
0
        public static void Register(AddInId addInId)
        {
            ISharedParameterManager parameterManager = new SharedParameterManager();
            PilingCoordinator       coordinator      = new PilingCoordinator(parameterManager);

            PilingUpdater.Register(addInId, coordinator);
            CoordinatePilingUpdater.Register(addInId, coordinator);
        }
예제 #2
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());
        }
예제 #3
0
 public static void Unregister()
 {
     PilingUpdater.Unregister();
     CoordinatePilingUpdater.Unregister();
 }