2.2 Use Sample Script

You can obtain sample scripts that are executable in the Python console from the Renesas Web site.

You can also register script files with projects.

(1)

Selecting [Python Console] from the [View] menu will open the Python Console panel.

Selecting the [Sample Scripts] tab below the panel displays a list of the sample scripts that you have obtained from the Renesas Web site.

 

Figure 2.2

Python Console Panel

(2)

Selecting the title of a sample script will display a description of the script. Clicking on the [Add to project] button will register the script file with the active project.

(3)

Double-clicking on the name of a script file in the project tree will open the registered script file in the Editor panel. Modify the script file as required.

(4)

Right-click on the name of a script file in the project tree and select [Execute in Python Console]. The [Console] tab will become active and the script file will be executed.