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

Including ROBOT Plugin/Add-In to ROBOT Add-In Menu Programatically?

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
liam_mchale
597 Views, 6 Replies

Including ROBOT Plugin/Add-In to ROBOT Add-In Menu Programatically?

Hello,

 

Is there a method to have Plugins added to the extensions/add-in menu in Robot on installation or with some sort of scripting action?

 

Similar to how Frame Generator or Autodesk-Revit Integration are available from within ROBOT's  in Add-ins manager without any configuration or user action.

 

I am looking for the best method to distribute ROBOT plugins to users across a network. 

 

Extensions.png

 

Thank you and regards,

Liam McHale

6 REPLIES 6
Message 2 of 7
Romanich
in reply to: liam_mchale

Hi @liam_mchale ,

 

https://download.autodesk.com/us/media/adn/how-to-create-add-in-extension-final.pdf

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


Message 3 of 7
liam_mchale
in reply to: Romanich

Hi @Romanich , thank you for the quick reply.

 

I would like a bit more information on the two-part step 9 of the linked guide.

____

 

9. Registration of created add-in .dll file to enable its visibility in Robot
Structure Analysis

 

Go to the folder where the add-in .dll file is located and register it by commands:
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /tlb /codebase
MyAddin.dll
or
c:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /tlb /codebase
MyAddin.dll

 

____

 

9. Making new option available in Robot Structure Analysis pull down
menu

Start RSA, select any structure type, then from Add-ins menu start Add-ins Manage and using “…”
button show path to add-in .dll file, then press Add button.

 

______

 

Am I correct in understanding the 2nd part of step 9 indicates that for a ROBOT add-in (.dll), it is required to launch ROBOT and using the ROBOT Add-In menu, to manually select the .dll we registered in the 1st part of step 9. 

I am looking for a way to distribute ROBOT PLUGINS to Users ideally without requiring manual intervention to register the plugin on every machine. For example REVIT Plugins may be registered and made available to users through the use of a manifest file. 

 

https://help.autodesk.com/view/RVT/2023/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_...

 

Is there any similar process for ROBOT? 

 

Thank You,

Liam McHale

Message 4 of 7
Romanich
in reply to: liam_mchale

Hi @liam_mchale ,

 

Frankly speaking, I haven't tried automatically distributing Robot plugins to users across a network. Just thinking aloud - what if we put the plugin file (assuming it's a single .dll or .exe file that doesn't require installation) on a network drive and run a .bat file on each user's machine only once?

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


Message 5 of 7
liam_mchale
in reply to: liam_mchale

Thanks @Romanich ,

 

With this process where we 'register' our Plugin .dll/.exe file with a .bat 'install' on user machines do you anticipate we still have a final step where we must:

 

1) open RSA

2) open the Add-In's manager 

3) 'Add' the Plugin by pointing to the location of the .dll file (which we have registered with our .bat install process) 

 

or do you anticipate we could include these steps by some process in our .bat install routine and have the Plugin immediately referenced, visible in the Add-In's menu and available for use?

 

Thanks again,

Liam McHale

Message 6 of 7
Romanich
in reply to: liam_mchale

Hi @liam_mchale ,

 

The .bat should add a record directly to the Windows registry. In this case, these 3 steps should be eliminated. 

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


Message 7 of 7
liam_mchale
in reply to: liam_mchale

That sounds very promising. Thank you for the assistance on this issue @Romanich .

 

Regards,

Liam McHale

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

Post to forums  

Autodesk Design & Make Report