annuler
Affichage des résultats de 
Afficher  uniquement  | Rechercher plutôt 
Vouliez-vous dire : 

Better HSMWorks API and more API resources

Better HSMWorks API and more API resources

HSMWorks API is an extremely primitive element of HSMWorks. It is truly disappointing and frustrating that a HSMWorks feature that has been developed for a few years is still a mystery to even Autodesk developers and engineers. It needs to be developed better as soon as possible and more API resources (e.g. tutorials) should be made available to customers.

3 Commentaires
ArjanDijk
Advisor

Totally agree!

 

Would be great to have a simple "getting started" and a working example.

nejkov
Enthusiast

Hello,

Is anywhere a manual or video how to start with API in HSMworks?  Or exmaples? Is here anybody, who can make small API code for HSMWorks for me? (dzino@seznam.cz)

nejkov
Enthusiast

Hello,
I´m trying to use HSM library (link: https://www.autodesk.com/products/hsmworks/overview?plc=F360&term=1-YEAR&support=ADVANCED&quantity=1) in SolidWorks. I created c++/cli project with marshaling code (hsm library is C, my solid works plugin is c#).
The problem is, that I´m not able to run any function which takes document as an argument. If I try function which takes bool, it seems to work fine.
I´m not sure where the issue might be.
This is how I declare interop function:
[DllImport("hsmsw.dll")]
unsigned int HSMWorks_checkTasks(IntPtr document);
This is how I call it:
hsm.HSMWorks_checkTasks_(Marshal.GetIUnknownForObject(document))

Complete project is here: http://www.uschovna.cz/zasilka/YWPK5JX6C5WYXE56-PUT

Did anyone had any succes using hsm library in SolidWorks?

Vous n'avez pas trouvé ce que vous recherchiez ? Posez une question à la communauté ou partagez vos connaissances.

Proposer une idée