Using the Python Editor Context Help

You trigger the Python context Help by clicking the context Help button in the Python Editor toolbar or by using the F1 keyboard shortcut. The information displayed in the context Help depends on whether or not the interactive console is populated, whether you selected text in the interactive console or in the active work area, or whether or not the cursor is positioned at the end of a line of code in the interactive console.

To access the list of Python Editor keyboard shortcuts:

  1. From the MotionBuilder menu bar, select Window Python Editor.

    The Python Editor window displays.

  2. If there are lines of code in the interactive console, click the Clear interactive console tool in the Python Editor toolbar. If there are no lines of code, proceed to the next step.
  3. In the Python Editor toolbar, click the Python context Help tool or press F1.

    Python Editor commands keyboard shortcuts

    The Python Editor interactive console displays the list of Python Editor keyboard shortcuts.

    The Python Editor keyboard shortcut mappings are listed in the PythonKeyboard.txt file located in the following default directories:
    • C:\Program Files\Autodesk\MotionBuilder Danko (64-bit)\bin\config\Python\Keyboard
    • C:\Program Files (x86)\Autodesk\MotionBuilder Danko (32-bit)\bin\config\Python\Keyboard
    Note: Additional Help information is available based on the context.

To display context help related to a command in the interactive console:

  1. Make sure the interactive console is active.
  2. In the Python Editor toolbar, click the Python context Help button or press F1.

    The Python Editor interactive console displays help related to the command entered in the interactive console.

    Help about a command in the interactive console

To display context help related to selected content in the interactive console:

  1. Select text in a line of code in the interactive console.
  2. In the Python Editor toolbar, click the Python context Help button or press F1.

    Help related to the selected text is displayed in the interactive console.

    Tip: To see all the content displayed in the interactive console, you can either resize the Python Editor window by dragging any corner or border of the window or adjust the height of the interactive console (without resizing the Python Editor window) by dragging the bottom border of the interactive console.

To display context help related to selected content in the work area:

  1. Select text in a line of code in the work area.
  2. In the Python Editor toolbar, click the Python context Help button or press F1.

    Python Editor interactive console displays context Help

    Help related to the selected text in the Python Editor work area is displayed in the interactive console.

To display context help related to the content in the work area: