Converting a Blocks Project to Text in VEXcode V5

A blocks project can easily be converted to a text project in VEXcode V5.


How to Convert a Blocks Project to Text

Blocks project

Once you have a blocks project created in VEXcode V5, the project can be converted into a text project.

Clawbot Drivetrain no motor

Note: The blocks project shown in this article uses the Clawbot (Drivetrain, 2-motor, No Gyro) template.

Code Viewer

Open the Code Viewer by selecting the icon in the top right next to the Devices icon.

Code Viewer

The Code Viewer shows the text version of the blocks project in the workspace.

C or Python

There is the option to convert the blocks project to either C++ or Python.

Convert to text

Once you are ready to convert the blocks project to a text project, select the “Convert to Text Project” button in the bottom right of the Code Viewer.

Save window

If you have not yet saved your blocks project, a window will appear to prompt you to save your project as a .v5blocks file. For more information about saving a project, view the VEX Library articles on Saving a project (Windows, macOS, Chromebook).

Save window python

Once the blocks project is saved, the text workspace will appear. You will be prompted to save your text project as a .v5python file. For more information about saving a project, view the VEX Library articles on Saving a project (Windows, macOS, Chromebook).

Converted to text

Once the project is saved, you can continue working on your text project or download the project to a V5 Brain.

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

Last Updated: