A project can be opened and saved in web-based VEXcode V5 in a variety of ways.
Create a New Project
A new project opens when VEXcode V5 is launched. But, a new project can also be opened from the File Menu.
Select New Blocks Project or New Text Project from the File Menu.
Note: when creating a new project, a prompt will appear asking to save if the current project has not already been saved. See the Saving Projects section of this article for details on how to save a project.
Open Projects
Open an Existing Project
Open an existing project by selecting Open from the File menu.
Your device’s File Menu will open. Navigate to the folder where you saved your file and open the project.
Note: VEXcode V5 projects will have one of the following extensions: .v5blocks , .v5python, or .v5cpp.
A prompt will appear in your browser. Select Save Changes to open the project and allow auto saving.
Your project will then open.
Open an Example Project
Select File in the Toolbar.
Select Open Examples in the drop down menu.
Select a Template or an Example Project. Once selected, the project will open in VEXcode V5.
Note: Templates and Example Projects are used for the following:
- Templates configure the motors and sensors on your robot for the project.
- Example projects are premade projects that are ready to download and run.
Saving Projects
You can save your project in VEXcode V5 in different ways:
Option 1: Selecting Save in the File menu.
Option 2: Downloading a new project.
Option 3: Naming a new project by selecting the project name window.
Type a new name into the text field and select Save.
Saving a Project
Choose one of the ways above to save a new project, then a Save As dialog window will open.
Note: This image shows macOS. Follow the prompts on your device to choose the File name and save location.
Then select Save.
The updated project name will be visible in the project name window.
Once a project is saved, VEXcode V5 will automatically save all changes in a project.
Note: Whenever there is an unsaved project, VEXcode V5 will prompt users to save their work if the user attempts to:
- Close VEXcode V5
- Create a new project
- Open another project
Using 'Save As'
You can also use the Save As option from the File menu to make a copy of a project under a different name or in a different location.
Common Issue when Opening/Saving
A common issue when using VEXcode V5 project files (.v5blocks, .v5python, or .v5cpp) is trying to select the file to be opened directly by the operating system.
If you try to open a VEXcode V5 project file (.v5blocks, .v5python, or .v5cpp) by double clicking it, it will show an error message like this.
Be sure to open project files in VEXcode V5, as shown in the Open an Existing Project section of this article.