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
Solved! Go to Solution.
Solved by matthew_taylor. Go to 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
A pleasure, Ibrahim!