NX3 ships with many sample NX/Open applicatons
The sample applications are located at: UGII_BASE_DIR/UGOPEN/SampleNXOpenApplications, default location is: C:\Program Files\UGS\NX 3.0\UGOPEN\SampleNXOpenApplications
These sample applications are mostly .Net based technology. They use either VB (visual basic) .Net or C# (C Sharp) .Net, with a couple of applications that are C++ based in NX/Open.
c# samples:
- AssemblyViewer
- CycleAssemblies
- InteropNXOpenWithUFWrap
- NXOpenExamples
- SnagImage (c# version)
vb samples:
- CreateNote
- DrawingCycle
- DrawText
- FeatureBrowser
- File2Points (with a Grip file for comparision)
- FilloutTitleBlock
- LayerOrganize
- PolygonTool
- Preferences
- QuickExtrude
- Selection
- SketchShape
- SnagImage (vb version)
- SpellChecker
- TitleBlock
c++ (C Plus Plus) samples:
- File2PointsCPP
- InteropNXOpenWithUFunc
As you can see the majority of sample applications are written in vb (visual basic). Probably because that is the target audience for getting quick applications up and running. For C++ programmers and C# programmers they probably assume they’ll figure it out anyways. That is just a guess. Regardless of they type of programmer you are, which language you previously worked on you’ll see examples on how to use the NX/Open api namespaces to build your applications.
There will be another post of a step by step on creating a NX/Open application wired to a winform dialog.

浙公网安备 33010602011771号