An NXOpen helper package to reuse code in scripts, in order to avoid having all the underlying code in the journals itself.


License
AGPL-3.0
Install
pip install nxopentse==0.0.1a15

Documentation

nxopentse (by theScriptingEngineer)

LEARN NXOPEN

Siemens NX beginner NXOpen course (Python)

SimCenter 3D basic NXOpen course (C#)

This package contains functions which you can use in your own scripts, so you don't have to write everything from scratch.

pip install nxopentse

NOTE: You need to have configured NX/Simcenter to work with the external python interpreter.

Then in your script add

import nxopentse

Simple example:

import NXOpen
import nxopentse as tse


# Every NXOpen journal needs an NXOpen.Session object
the_session: NXOpen.Session = NXOpen.Session.GetSession()


def main():
    tse.cad.nx_hello()


if __name__ == '__main__':
    main()

nxopen.cad

CAD functionality

nxopan.cae

CAE functionality

nxopen.tools

General tools which can be used in different NX applications.

NX versions

SC2212:

Documentation

nxopentse documentation

Documentation from source using Sphinx sphinx-build -M html docs/source/ docs/build/