Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use functionality from managed dll in my fusion 360 plugin.

1 REPLY 1
Reply
Message 1 of 2
galaxyblazer
904 Views, 1 Reply

How to use functionality from managed dll in my fusion 360 plugin.

Hi.
Fusion 360 api is new for me. Before I'm working with AutoCAD api. I want create plugin for fusion 360 which will be use static class from my managed dll. Is it right if I create Class Library project in VS, and add to project references my manage dll, and compile all of this to Fusion 360 addin folder? 

 

1 REPLY 1
Message 2 of 2
ekinsb
in reply to: galaxyblazer

I haven't personally done it but what you want to search the web for is how to call managed functions from an unmanaged C++ program.  There were quite a few different answers when I did a quick search so it doesn't seem as simple as you might hope. 

 

Your Fusion add-in will be an unmanaged C++ dll.  Fusion will create the skeleton for you if you use the "Scripts and Add-Ins" command to create a new add-in.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog

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


Autodesk Design & Make Report