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

2020-11-14_11-16-42a.jpg

To open an Example Project, select the File menu.

Screen_Shot_2020-11-20_at_4.47.32_PM.png

Choose ‘New Text Project’

2020-11-15_8-36-45a.jpg

Choose ‘Open Examples.’

2020-11-15_8-37-22.jpg

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

c.jpg

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

2020-11-15_8-37-22cv.jpg

To open any example, select one from the menu.

Screen_Shot_2020-11-20_at_4.46.36_PM.png

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

2020-11-14_11-43-08a.jpg

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

2020-11-14_11-43-08s.jpg

Select ‘Start’ in the Toolbar.

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

Start_button_playground_12.37.46_PM.png

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

2020-11-15_11-48-09a.jpg

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


Descriptions in Python Example Projects

2020-11-15_8-38-00bn.jpg

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: