Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Updater giving a warning message before the Revit document opens

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
IbrahimNaeem
452 Views, 3 Replies

Updater giving a warning message before the Revit document opens

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 

Tags (1)
3 REPLIES 3
Message 2 of 4

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

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

Message 4 of 4

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community