Skip to main content

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

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxopentse-0.0.1a9.tar.gz (36.6 kB view hashes)

Uploaded Source

Built Distribution

nxopentse-0.0.1a9-py3-none-any.whl (38.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page