打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Setup of NX Open Python environment for Eclipse
userphoto

2022.08.31 湖北

关注

1 Install Eclipse

The latest Eclipse installers can be found here:

https://eclipse.org/downloads/

Actual release is LUNA.

2 Install Python

Install a Python Interpreter.

Use Python 3.3 for NXOpen programming.

3 PyDev Add installation

The PyDev Module has to be installed for the Python Templates.

To Install Pydev, go to Help -> Install New Software

In the next Dialog add the Location http://pydev.org/updates and follow the installation instructions.

Check if the correct Python Interpreter is selected in Windows->Preferences Python Interpreter

The Pythonpath is adapted during startup automatically by the script below.

4 Configure Eclipse for NX Open

The correct environment has to be set to be able to work with Autocompletion in the Environment.

The simplest way is to add a startup script for Eclipse. The following script could be used to setup the correct NX environment:

:: Set NX Variables SET UGII_BASE_DIR=D:\SPLM\NX10.0 SET UGII_ROOT_DIR=D:\SPLM\NX10.0\UGII set UGII_LIB_DIR=D:\SPLM\NX10.0\UGII\ set PATH=%UGII_ROOT_DIR%;%PATH% :: Set the PYTHONPATH set PYTHONPATH=D:\SPLM\NX10.0\UGII\python :: Start Eclipse D:\DEV\eclipse\eclipse.exe

Now Autocompletion is available for the NXOpen modules.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
用Eclipse开发Python的详细配置(eclipse3.x+python3.x)
windows系统下Python环境的搭建
Eclipse环境安装Python插件PyDev
eclipse+pydev 怎么导入已有的python项目
解决Eclipse Pydev开发Python程序时import的错误
Anaconda + eclipse + pydev 开发,
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服