BSLA 发表于 2022-4-28 13:21:32

求助SPS与python联合编程环境设置


phoenixkiller 发表于 2022-5-28 16:59:51

我自己不完整测试
1.安装sps10.5
2.应用破解补丁(此步骤非必须)
3.进入目录C:\Program Files (x86)\DNVGL\SPS 10.5\bin\Help\PDF,双击打开 sps.pdf文件
4.Reference->Python Scripting,有详细介绍如何使用python

phoenixkiller 发表于 2022-5-29 09:05:03

安装sps10.5,查看帮助文件,有详细说明。

唯尊 发表于 2023-2-4 11:03:04

1. Go to https://www.python.org/.
2. On the Navigation bar, click Downloads.
3. Scroll to the list of release versions, and then click Python 3.6.0 (Release date 2016-12-23).
4. On the Python 3.6.0 page, scroll to the list of installer files, and then select Windows x86
executable installer.
5. When prompted to run or save python-3.6.0.exe, click Run.
6. Select the following options, and then click Customize installation.
    l Install launcher for all users (recommended)
    l Add Python 3.6 to PATH :
7. On the Optional Features screen, select all options, and then click Next.
8. On the Advanced Options screen, select the following options:
    l Install for all users
    l Associate files with Python (requires the py launcher)
    l Create shortcuts for installed applications
    l Add Python to environment variables
9. In the Customize install location box, verify that C:\Program Files (x86)\Python36-32
is the installation location, and then click Install.
10. When the installation is finished, close the Install window.
Finially, to create a .py file with Model Builder
    l In Model Builder, on the toolbar, click the Open Python Script button.
注意:sps目前只支持python3.6.0版本,安装目录只能是C:\Program Files (x86)\
页: [1]
查看完整版本: 求助SPS与python联合编程环境设置