A blocks project can easily be converted to a text project in VEXcode V5.
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 V5, the project can be converted into a text project.
Note: The blocks project shown in this article uses the Clawbot (Drivetrain, 2-motor, No Gyro) template.
Open the Code Viewer by selecting the icon in the top right next to the Devices icon.
The Code Viewer shows the text version of the blocks project in the workspace.
There is the option to convert the blocks project to either C++ or Python.
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.
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 Knowledge Base articles on Saving a project (Windows, macOS, Chromebook).
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 Knowledge Base articles on Saving a project (Windows, macOS, Chromebook).
Once the project is saved, you can continue working on your text project or download the project to a V5 Brain.