AddIn Manager: How to disable copy dialog?

AddIn Manager: How to disable copy dialog?

nam_vt
Enthusiast Enthusiast
1,372 Views
6 Replies
Message 1 of 7

AddIn Manager: How to disable copy dialog?

nam_vt
Enthusiast
Enthusiast

Hi All,

 

Anytime I run a command from AddIns Manager, a copy dialog shows up.

 

qq.PNG

 

How to disable it please?

 

Thanks.

 

Best Regards,

Nam.

 

0 Likes
Accepted solutions (2)
1,373 Views
6 Replies
Replies (6)
Message 2 of 7

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Nam,

 

Thank you for your query.

 

On one hand, you can use the Windows API to automate the handling of any dialogue you want in any way you desire:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.32

 

http://thebuildingcoder.typepad.com/blog/2009/10/dismiss-dialogue-using-windows-api.html

 

On the other hand, the AddIn Manager source code is not publicly accessible, and I am not aware of any possibility right now to modify its behaviour in any way at all.

 

There is an effort underway, or a request from developers, at least, to publish the AddIn Manager source code:

 

https://forums.autodesk.com/t5/revit-api-forum/why-add-in-manager-in-the-revit-sdk-2017-2017-1-has-v...

 

On the third hand, everything that it does you can also achieve yourself using standard .NET functionality.

 

If you are not completely satisfied with the AddIn Manager behaviour, you might want to consider implementing your own loader instead.

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 7

nam_vt
Enthusiast
Enthusiast

Thanks Jeremy.

 

Best Regards,

Nam

0 Likes
Message 4 of 7

FAIR59
Advisor
Advisor
Accepted solution

I've had the message a few times, when I forgot to set the RevitAPI and RevitAPIUI references to Local Copy = falseCopyLocal.PNG

Message 5 of 7

jeremytammik
Autodesk
Autodesk

Thank you, Fair59! Great hint!

 

http://thebuildingcoder.typepad.com/blog/2011/08/set-copy-local-to-false.html

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 6 of 7

nam_vt
Enthusiast
Enthusiast

Great. Thanks FAIR59.

 

Best Regards,

 

Nam.

0 Likes
Message 7 of 7

jeremytammik
Autodesk
Autodesk

Thank you again, Fair59, for pointing this out!

 

Saved here for posterity and future reference:

 

http://thebuildingcoder.typepad.com/blog/2017/06/copy-local-false-and-ifc-utils-for-wall-openings.ht...

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder