Converting a Blocks Project to Text in VEXcode IQ

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

This article will cover:

  • How to Convert a Blocks Project to Text

How to Convert a Blocks Project to Text

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

Blocks project

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

Clawbot Drivetrain Icon

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.

View C Code

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.

Convert to text

If you have not yet saved your blocks project, a window will appear to prompt you to save your project as a .iqblocks file. For more information about saving a blocks project in VEXcode IQ, view the Knowledge Base articles on Saving a project (Windows, macOS, Chromebook).

FR Blocks

Once the blocks project is saved, the text workspace will appear. You will be prompted to save your text project as a .iqcpp file. For more information about saving a text project in VEXcode IQ, view the Knowledge Base articles on Saving a project (Windows, macOS, Chromebook).

FR IQcpp

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

saved IQ