作者: phoenixkiller 時間: 2022-5-28 16:59
我自己不完整測試
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
安裝sps10.5,查看幫助文件,有詳細說明。作者: 唯尊 時間: 2023-2-4 11:03
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)\