HSMWorks API C#

HSMWorks API C#

jose3rodriguez
Explorer Explorer
233 Views
8 Replies
Message 1 of 9

HSMWorks API C#

jose3rodriguez
Explorer
Explorer

Is there any documentation on working with the HSMWorks API in C#? 2022 or 2023

If not I would appreciate any insight on how to get a project started. For example implementing the example in the AddinAPI.h found in "...\Autodesk\HSMWorks 2023\api\include".

I was hoping it would be as simple as just referencing the hsmsw.dll and being able to see the methods, kind of like developing a SW addin in C#. 

Any help would be appreciated!

0 Likes
234 Views
8 Replies
Replies (8)
Message 2 of 9

lenny_1962
Advisor
Advisor

you know HSMWorks is dead, they shut down the fusion entitlement in march 2025 and if you were lucky you made sure to re-up your subscrition so you can still run until march 2028, so no API for you, sorry they never really pushed it after AD purchased HSMWorks.

0 Likes
Message 3 of 9

jeff.pek
Community Manager
Community Manager

You would have to use C++/CLI to connect a .NET addin to the HSMworks API.

0 Likes
Message 4 of 9

jose3rodriguez
Explorer
Explorer

As far as that goes or even just building an addin using the HSMworks api in C++ is there any documentation on this? 

0 Likes
Message 5 of 9

jose3rodriguez
Explorer
Explorer

Interesting thank you for that info. 

0 Likes
Message 6 of 9

lenny_1962
Advisor
Advisor

we're probably goning to us SWCAMPro for now, maybe jump to SolidCAM, we are lucky all free for EDU

0 Likes
Message 7 of 9

jose3rodriguez
Explorer
Explorer

I'm just on the hunt for some docs on the API. I'm not the user of any CAM software myself just developing an automation tool that is planned to be used until support for HSM ends. Autodesk support is impossible to talk to, their support email points to their AI support chat, their AI support chat connects me to a support specialist only if I tell them what product I want to talk about. Then it closes the chat saying the software is no longer supported. This may be the end of the road as far as this endeavor goes, unless someone from 2020-2023 got an API reference guide. That is if it exists.

Anyways thanks for the reply Lenny.

0 Likes
Message 8 of 9

lenny_1962
Advisor
Advisor
Message 9 of 9

jeff.pek
Community Manager
Community Manager

The docs are in the header file that defines the interface to the API. As has been said, the integration to the API needs to be in C++, so you'd need an intermediate C++/CLI layer to talk to it from C#.

 

Jeff

0 Likes