Skip to content

Commit 4a64780

Browse files
committed
first commit
1 parent 38a54a7 commit 4a64780

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

Pictures/pic1_NX_developer_tab.png

42.6 KB
Loading

Pictures/pic2_NX_userinterface.png

23.9 KB
Loading
23.3 KB
Loading

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
1-
# NXOpen_Python_tutorials
1+
# NXOpen Python tutorials
22
a collection of NXOpen Python tutorials
3+
4+
5+
## Tutorials:
6+
7+
### First steps:
8+
9+
In order to start with NX Python programing you need to prepare your NX settings. First step is to find the `Developer` tab at the top NX ribbon:
10+
11+
12+
13+
<pre>
14+
<center>
15+
<img src=".\\Pictures\\pic1_NX_developer_tab.png" width="500">
16+
<figcaption>Fig.1 - Find or activate the Developer tab.</figcaption>
17+
</center>
18+
</pre>
19+
20+
if the tab does not exists already, right click on the top ribbon and find the `Developer` tab and activate it.
21+
22+
One great way to develop or learn NX Python programing is to record macros while using the GUI. By default NX saves macros in Visual Basic. To change that to Python, you need to go to `File > Preferences > User Interface`:
23+
24+
<pre>
25+
<center>
26+
<img src=".\\Pictures\\pic2_NX_userinterface.png" width="500">
27+
<figcaption>Fig.2 - Go to the User Interface Preference panel.</figcaption>
28+
</center>
29+
</pre>
30+
31+
or press "<kbd>Ctrl</kbd> + 2" keyboard shortcut. Then in the `User Interface Preferences` change the `Journal Language` to Python:
32+
33+
34+
35+
<pre>
36+
<center>
37+
<img src=".\\Pictures\\pic3_NX_change_language_python.png" width="500">
38+
<figcaption>Fig.3 - Change the Journal Language to Python.</figcaption>
39+
</center>
40+
</pre>

0 commit comments

Comments
 (0)