Autodesk Terminal (Web Interface)

Access the Autodesk Terminal to use VRED as a terminal application by selecting Terminal in the web interface. This opens the VRED Hub terminal for scripting in the web interface instead of switching back to your local machine.

Autodesk Terminal

Using the Terminal

To avoid frustration, ensure you follow these instructions, paying special attention to steps 2-4.

  1. Open a VRED scene.

  2. Select Edit > Preferences > General Settings > Web Interface > Base and ensure Enable Web Server is enabled. Note the port number. The default is 8888. Click Apply and Save if any changes are made.

  3. Visit OpenH264 codec library from GitHub, scroll to the bottom of the first section, look for a link ending in -win64.dll.bz2, and download it. Uncompress the file and copy the openh264-[2.0.0]-win64.dll to C:\Program Files\Autodesk\VREDPro-<internalVersion>\bin\WIN64. Note that if the H.264 codec is missing, an error message appears when trying to run the Streaming App.

  4. Open a web browser and enter the URL, localhost:8888 to access the web interface.

  5. In the Input section, enter some code. For example, to create a red cube that is 0.5 units, you would enter:

    newScene()
    
    def createCube(x, y, z):
        node = createBox(x, y, z, 1, 1, 1, 1.0, 0.0, 0.0, 0)
        node.setDlistCache(false)
    
        updateScene()
        setNear(0.1)
        print("Cube created")
    
    createCube(0.5, 0.5, 0.5)
  6. Scroll down the page and click Send. The Output section and viewport update.

    The Output section and viewport update