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.

The following article will cover:

  • Using Python Example Projects
  • Starting an Example Project in the Playground
  • Descriptions in Python Example Projects

Using Python Example Projects

To open an Example Project, select the File menu.

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

Choose ‘New Text Project’

Screen_Shot_2020-11-20_at_4.47.32_PM.png

Choose ‘Open Examples.’

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

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

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

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

c.jpg

To open any example, select one from the menu.

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

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.

Screen_Shot_2020-11-20_at_4.46.36_PM.png


Starting an Example Project in the Playground

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

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

Select ‘Start’ in the Toolbar.

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

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

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

Start_button_playground_12.37.46_PM.png

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

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


Descriptions in Python Example Projects

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

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