I am using C++ language for NX Customsiation , How can i use Snap Api with NXOpen Api for creating a any feature.
For using NXOpenAPI i use
using namespace NXOpen;
Is there something i need to add for using Snap Api in my code?
Thanks in advance
Thanks & Regards
Solved! Go to Solution.
It's not quite true that SNAP functions can only be called from VB. SNAP is a .NET DLL, and this means you can call its functions from any .NET language. There are dozens of these, listed here; the best-known are VB, C#, F#, IronPython, etc. There is also a .NET variant of C++, which is called C++/CLI. You can read about it here. The syntax of C++/CLI is somewhat different from standard C++, and you might find it easier to switch to C#.
SNAP requires an additional license, but it's pretty inexpensive. Using SNAP will probably save you time, but I don't know how much your time is worth, so I can't say whether the additional license cost is justified. There is a free subset called MiniSnap, which is intended for working through the tutorials in the Getting Started guide.