Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

API: C++ Development

Anonymous

API: C++ Development

Anonymous
No aplicable

The API Help Documentation shows that C++ development is an option, but there are no header files to be found with within the program files. Where could i get a hold of these files, or where should i look to get started developing add-ins using C++. Ive developed all of my add-ins in C# to this point, and would like to switch it up a little.

0 Me gusta
Responder
Soluciones aceptadas (1)
463 Vistas
2 Respuestas
Respuestas (2)

brian.donahue
Autodesk
Autodesk
Solución aceptada

You might find it a lot easier in c#, than c++.  Basically, you need to #import the featurecam executable (essentially

some form of #import "C:\\program files\\autodesk\\featurecam 2019\\program\\ezfm.exe"  ).  this will generate a ezfm.tlh (in your c++ binary directory!) and a .tli   which contain all the interfaces/COM style classes which are, frankly, painful to use.  Personally, i find  'using FeatureCAM;' in c# is much simpler, and easier to follow.



Brian Donahue
Product Owner FeatureCAM

Anonymous
No aplicable

Ahh I didn't think about doing that. You're right, developing addins in c# has been relatively simple. Im not sure why I wanted to wander back into the land of manual resource allocation and seg faults, other than an interesting change of pace.

0 Me gusta