The following table lists the Python Editor commands accessible via the Python Editor toolbar, including the equivalent keyboard shortcuts.
Tool | Command | Description |
---|---|---|
|
Create work area (Ctrl+T) |
Creates a tab in the work area of the Python Editor for a new script. |
|
Open script (Ctrl+O) |
Opens the Open Python Script browser window for you to locate a script to load in the Python Editor work area. This action creates a tab for the loaded script. |
|
Close script (Ctrl+-) |
Closes the active script in the Python Editor work area. Note that each script loaded in the work area has its work area (tab). |
|
Save script (Ctrl+S / F2) |
Saves the active script. |
|
Save script as (F5) |
Opens the Save File browser where you specify the file name and location of the new script you want to save. |
|
Execute script (F5) |
Executes code or a script, depending on whether a code is highlighted. If nothing is highlighted, it executes the active script in the Python Editor work area. |
|
Add script to scene (Ctr+=) |
Adds the active script to the current scene. |
|
Launch Python Tool Manager (F10) |
Displays the Python Tool Manager that contains the tool scripts available in the PythonStartup folder in the C:\My Documents\MB\2012-x32\config or C:\My Documents\MB\2012-x64\config default directories. |
|
Launch Telnet console |
Launches a local Telnet console that is automatically connected to MotionBuilder. The MotionBuilder modules are already imported. NoteBy default, Microsoft® Telnet Client is not installed with Windows but you can install it. Refer to: Windows Telnet: frequently asked questions.
|
|
Trigger Python context Help (F1) |
Displays in the interactive console, the list of Python Editor keyboard shortcuts when the interactive console is empty. Displays in the interactive console, context Help for either a command in the interactive console, or for highlighted text in the interactive console or work area. |
|
Launch Python Logger (F7) |
Launches the script debugger tool. |
|
Clear interactive console |
Clears the Python Editor interactive console. |
|
Clear active work area |
Clears the Python Editor active work area. |
|
Search in interactive console (Ctrl+F) |
Specifies the interactive console as the search area for the text entered in the text field. |
|
Search in active work area (Ctrl+F) |
Specifies the active work area as the search area for the text entered in the text field. |
|
Search in interactive console and in active work area (Ctrl+F) |
Specifies the interactive console and the active work area as the search area for the text entered in the text field. |
|
Trigger search for text entered in Text field |
Locates in the specified area (interactive console/active work area) the text entered in the text field. |
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License