Using Example Python Projects in VEXcode VR

Example projects are a great resource if you are just getting started with VEXcode VR. They allow you to observe how different Python commands in VEXcode VR are used.


Using Python Example Projects

Menu for opening example Python projects in VEXcode VR

To open an Example Project, select the File menu.

Example Python project open in VEXcode VR editor with the Playground and code workspace displayed

Choose ‘New Text Project’

Example Python project open in VEXcode VR with the Playground and Python editor visible

Choose ‘Open Examples.’

Example Python project open in VEXcode VR with the virtual robot and code editor visible

Icons for many different Example Projects will be shown. Each icon represents a different project and is colored according to the command categories.

VEXcode VR with a Python example project open in the editor and Playground

The Filter bar can be used to quickly find a specific type of example.

Example Python project open in the VEXcode VR workspace and Playground

To open any example, select one from the menu.

Example Python project open in the VEXcode VR workspace

Python commands for the example project will populate in the Workspace. These commands and their parameters can be changed or removed. Additional Python commands can be added to modify the example project.


Starting an Example Project in the Playground

Example Python project open in VEXcode VR with the VR Playground displayed

Select the Playground icon in the Toolbar to launch the Playground.

Example Python project open in VEXcode VR with the Playground visible

Select ‘Start’ in the Toolbar.

Note: selecting ‘Start’ from the Toolbar will launch the Playground if it is not already opened.

Start menu showing Example Projects for opening Python examples in VEXcode VR

Or, select the ‘Start’ icon on the Playground window.

VEXcode VR Tutorials menu showing example Python projects available to open

Be sure to Save to your device if you want to Reload the project.


Descriptions in Python Example Projects

Example Python project open in VEXcode VR with the Playground visible

In each Python Example Project, the description provides a short summary for what the project does.

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

Last Updated: