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
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
Documentation from source using Sphinx
sphinx-build -M html docs/source/ docs/build/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nxopentse-0.0.1a18.tar.gz
.
File metadata
- Download URL: nxopentse-0.0.1a18.tar.gz
- Upload date:
- Size: 51.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7532b3fb96d09cce338414ef57c8195f5f35004438f34512c52675c1e016ae |
|
MD5 | 6b4ffd8d4ffad171f560b03c9b4d242d |
|
BLAKE2b-256 | 301f4a8a028cd4c0092d7bccbff0927c11d1f38d91feda2038f10f54cf265b92 |
File details
Details for the file nxopentse-0.0.1a18-py3-none-any.whl
.
File metadata
- Download URL: nxopentse-0.0.1a18-py3-none-any.whl
- Upload date:
- Size: 54.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858b762c044ad74d039acff7a4e698157821b424bd64574e6c5c81719284a91f |
|
MD5 | db3442a868ee92c8ad85c85dd4853fa6 |
|
BLAKE2b-256 | e40d8880ef0493e2702a58be5f0e6ac25125b3fe74dc19e8999a85a6aff85a9d |