Using the Code Viewer in VEXcode AIM

The Code Viewer in VEXcode AIM allows users to see the text-equivalent of their Blocks project and watch the project change in real-time.


Opening and Closing the Code Viewer

The upper right hand corner of the VEXcode AIM Toolbar, with the Code Viewer button, showing an icon of a less that and greater than symbol, highlighted in a red box.

In a Blocks project, select the Code Viewer icon in the upper right corner.

The right hand side of the VEXcode AIM shows the Code Viewer window open, with the Python command for the When started and Move for block that are in the workspace. The Python reads robot dot move underscore for open parenthesis 200 comma 0 close parenthesis.

The Code Viewer window displays the Python version of the Blocks project.

The upper right hand corner of the VEXcode Toolbar with the right facing arrow highlighted in a red box, indicating what to select to close the Code Viewer.

Hide the Code Viewer window when finished by selecting the right arrow next to the Help icon.


Viewing Changes in the Code Viewer

While adding, modifying, or removing blocks from a project, the Code Viewer will update.

This video shows the direction parameter of the Move for block changing from 'forward' to 'left' and the analogous parameter in the Code Viewer changing from 0 degrees to 270 degrees. Then another block is added beneath the Move for block and the matching Python command appears in the Code Viewer beneath the existing move_for.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: