IUpdater throwing error message for users without the plug in

IUpdater throwing error message for users without the plug in

mfalkowski
Participant Participant
248 Views
1 Reply
Message 1 of 2

IUpdater throwing error message for users without the plug in

mfalkowski
Participant
Participant

I have an IUpdater that is causing a warning on other machines in a Worksharing or Cloud environment.  Originally, I registered the updater onStart-Up and unregistered it onShut-Down.  I realize, in the process of synchronizing, I'm sending this registered IUpdater to all other machines who don't have the plug in installed - hence the warning.

 

I figured if I simply unregistered it at onSynchronizing and registered it again onSynchronized, I would keep it out of the central model, but that doesn't seem to be the case.

 

I have two methods..

  • RegisterUpdater()
  • UnregisterUpdater()

I use them in the following events...

  • onstartup - RegisterUpdater()
  • onDocumentOpened - RegisterUpdater()
  • onDocumentSynchronizing - UnregisterUpdater()
  • onDocumentSynchronized - RegisterUpdater()
  • onDocumentClosing - UnregisterUpdater()
  • onShutDown - UnregisterUpdater()

the onStartup call is probably unnecessary, but I thought unregistering it prior to synchronizing would keep it out of the central model, but that isn't the case.

 

Any advice?

0 Likes
249 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Yes. We talked about that just last week:

  

https://forums.autodesk.com/t5/revit-api-forum/can-i-come-around-the-missing-third-party-updater-mes...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open