NXKnowledge

NX Open Programmer's Guide > Interoperation between the Common API and Open C > Interoperation between Open C and common API

Interoperation between Open C and common API

Interoperability is the ability to access constructs written in one programming language from another. Programs developed using the NX Open Common API contain built-in support for interoperability with Open C APIs by providing .NET, Java, and Python wrappers for Open C APIs.

In cases where you want to make calls to constructs in your custom C program from an NX Open for .NET or NX Open for Java program, the .NET framework and JNI (Java Native Interface) both allow interoperability between the Common API and legacy C applications. Just like NX Open wrappers for the Open C API, you create wrappers for your legacy APIs and use .NET or JNI for interoperability. See "Calling Legacy Open C from Common API Applications" for examples. This interoperability approach is not recommended for NX Open Python programs outside of the Python-wrapped NX Open API.

Related Topics

  • Open C functions used in NX Open methods
  • Non-wrapped NX Open C functions

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.nxopen_prog_guide/interop_c_common · retrieved Tue Jul 07 2026 00:00:00 GMT+0000 (Coordinated Universal Time)