I am having hard time to figure out how i can make use of NXOpen documentation for C#. Because, in the documentation, no such information is given. When i want to use a method, what it returns, for which class the object should be instantiated, no such details are given. I have to use only C# and i want to know if i can refer to any other text, document or something which gives the detailed information.
Solved! Go to Solution.
Also, there is the .NET Reference Guide. When you (or your system administrator) installs NX, installation of the API documentation is optional, and some people choose not to install it. Maybe that's why you can't find it.
The document is also available on the main page of this forum, below a big title that says "Learning NX programming". https://community.plm.automation.siemens.com/t5/NX-Customization-and-Programming/ct-p/NXProgramming . It's a CHM file, so you can't read it across a network; you'll have to download it to your computer.
I am also using C#, but I found it best to use the C++ documentation for most objects/methods at https://docs.plm.automation.siemens.com/data_services/resources/nx/10/nx_api/en_US/custom/open_c++_r...
For some objects the Open C documentation is best:
Using the C++/Open-C documentation has a few minor variations versus C#, but nothing too serious. The approach was recommended by the instructor for the NXOpen class.
The C++ docs and the .NET docs (and the Java and Python docs, too) are generated from the same files. So the information in them ought to be completely equivalent.
So, if you're writing C# code, I can't imagine why you would prefer to use the C++ docs. The C# and C++ function names and calling syntax are similar, but they are certainly not the same, so you have to mentally translate all the time. Could you explain the reason for your preference, please.
Edit: For NXOpen.UF stuff, the C/C++ docs are obviously better, because the .NET docs are essentially non-existent (they just point you to the C/C++ docs).