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.1a16.tar.gz
.
File metadata
- Download URL: nxopentse-0.0.1a16.tar.gz
- Upload date:
- Size: 50.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8d9b3dd8ced20d283aaf3d0022fb06e5f87610db52d44245d53aa3e9e78786 |
|
MD5 | 4eca6402384f6f386d58933839cedcd1 |
|
BLAKE2b-256 | 42f0c9b9000f27bc339a864722a2cb085651876a8818334bfaf0ec35c0f435f9 |
File details
Details for the file nxopentse-0.0.1a16-py3-none-any.whl
.
File metadata
- Download URL: nxopentse-0.0.1a16-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a7f6b85d94ed86eaa3e4fdaa0ce5084f22e0d9f4403422b53ad5aef5e18cfab |
|
MD5 | f3fad4a73e119623de1b5863bbf669b6 |
|
BLAKE2b-256 | 140572d9a638eb5831ce580180394a12b8f279eb2eb41b3419df3530d391f8a5 |