Updater giving a warning message before the Revit document opens

Updater giving a warning message before the Revit document opens

IbrahimNaeem
Advocate Advocate
802 Views
3 Replies
Message 1 of 4

Updater giving a warning message before the Revit document opens

IbrahimNaeem
Advocate
Advocate

Hello,

I have created an addin which use an updater, the updater works fine but have two errors:

 

1- First Error, when I reopen a project where I used the updater in before it's giving me a warning message that the updater used before doesn't exist. Any ideas of how to get rid of this message because the updater is there and loaded with the Revit start-up normally and works fine after I neglect this message? 

 

2- Second Error, Sometimes it stop working but when I stop it and activate it back(have two buttons to activate it and stop it), it works fine. Any clarification why it's having this strange behavior? 

 

Thanks, Ibrahim Naeem 

0 Likes
Accepted solutions (1)
803 Views
3 Replies
Replies (3)
Message 2 of 4

matthew_taylor
Advisor
Advisor
Accepted solution

Hi @IbrahimNaeem,

Have you used the 'isOptional' overload of RegisterUpdater?: http://www.revitapidocs.com/2017/b83ef3b6-e567-97ae-c33c-181b281b3287.htm

 

Are you unregistering/reregistering the iupdater, or just adding/removing the triggers when using your activate/stop buttons?

Are you registering the iupdater per document, or at the application level?

 

I'd need to see some code to comment further.

 

Cheers,

 

-Matt


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
Message 3 of 4

IbrahimNaeem
Advocate
Advocate

What a hot-fix that is, Matt.Thank you. 

0 Likes
Message 4 of 4

matthew_taylor
Advisor
Advisor

A pleasure, Ibrahim!


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
0 Likes