How to automatically load a Revit plugin?

How to automatically load a Revit plugin?

rita.aguiar
Advocate Advocate
4,227件の閲覧回数
7件の返信
メッセージ1/8

How to automatically load a Revit plugin?

rita.aguiar
Advocate
Advocate

I created a Revit plugin with Visual Studio in C#.
How can I automatically load it into the Revit application so that the asking to load dialog (because of an unknown publisher) does not appear?
Is it possible?

 Do I have to use the LoadAddIn method?

Many thanks.

0 件のいいね
解決済み
4,228件の閲覧回数
7件の返信
返信 (7)
メッセージ2/8

jeremytammik
Autodesk
Autodesk

Currently, the ultimate source of truth on this topic is this discussion forum thread:

  

https://forums.autodesk.com/t5/revit-api-forum/code-signing-of-revit-addins/td-p/5981560

  

Cheers,

  

Jeremy

 



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

メッセージ3/8

BIM.Frankliang
Collaborator
Collaborator

Dear Friend,

 

         The load dialog display due to code signature of your revit plug-in. When you finish build or rebuild and then start Revit, it will display to remind you whether load or not load. If you choose "Always Load" and don't build or rebuild your plug-in anymore, it will not appear next time. Wish it is helpful 🙂

 

Best Regards,

Frank Liang

名片2.png

 

 

0 件のいいね
メッセージ4/8

rita.aguiar
Advocate
Advocate

Thank you @BIM.Frankliang.

I wish to implement my plugin in 200+ computers so it's not very feasible to click always load on that many computers.
I am looking for a solution where I can have the plugin automatically loaded without ever asking to load.

0 件のいいね
メッセージ5/8

rita.aguiar
Advocate
Advocate

Thank you @jeremytammik.

Is the only way to automatically load a Revit plugin a Code Signing certificate?

Are there any other options? For example, I have created a very similar plugin for AutoCAD and, to automatically load it, I just had to write an acad and acaddoc lsp files to add the path to the plugin as trusted and to execute the command that initiates the plugin immediately after launch.
I do not wish to publish my plugin on the web. Its just to be used within the several computers of the office I work at.
Clicking on "Always Load" is also not a good option.

0 件のいいね
メッセージ6/8

jeremytammik
Autodesk
Autodesk
解決済み

Did you read the thread I pointed out?

 

Currently, the ultimate source of truth on this topic is this discussion forum thread:

   

https://forums.autodesk.com/t5/revit-api-forum/code-signing-of-revit-addins/td-p/5981560

   

I strongly suspect the answer is already given there.

 

I not, please ask there as well.

 

I strongly suspect the answer is no.

 

Cheers,

   

Jeremy

 



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

メッセージ7/8

rita.aguiar
Advocate
Advocate

Yes.
I also found a post where you wrote:

MESSAGE 22 OF 64

"You can sign your own code, and declare yourself trusted to yourself."

How can I do that?

0 件のいいね
メッセージ8/8

jeremytammik
Autodesk
Autodesk
0 件のいいね