-
From the General Operations section of the action bar, click Python Script
, and drop it on the process diagram.
-
Double-click Python Script on the process diagram to
open the Python Editor.
-
From the Select Python script options, select one of the
following to add an API script:
| Option | Description |
|---|
| Content |
Lets you select an API script document that is already a part of the
simulation process. |
| Parameter |
Lets you select an API script document that refers to a Python script. |
-
If you selected Content, select one of the following to
specify the script document:
| Option | Description |
|---|
 |
Searches and selects an API script document from the list to add to
the simulation process as referenced content. |
 |
Adds a referenced API script document from your local
directory. |
-
If you selected Parameter, click
to search and select an API
script document, which the app creates as a referenced parameter.
3DSearch
automatically filters the results to fit the type of data that you are
configuring.
-
From the list, select the appropriate Python API document.
Note:
The Python Script
Adapter does not support simulation documents.
-
Click OK.
|