Autodesk VRED: Python Scripting Tutorials

Christopher Gebhardt • 02.05.2023
  • Software Development
  • Training and Education
  • Automotive

Autodesk VRED is a powerful tool for designers and engineers to handle CAD data, create interactive presentations and validate designs. Its real-time engine, extensive Python API and new features simplify access to core functions. We were commissioned by Autodesk to produce a video tutorial series covering all the latest possibilities, from working with the new API to building a render pipeline with VRED Core.

Autodesk VRED is known in the industry for its capabilities to produce high quality 3D visuals and handling of a multitude of different file formats. Designers and engineers can use this tool to handle complex CAD data, create interactive presentations or use it to validate design and construction.

Besides the implemented path-trace renderer there is also a powerful real-time engine based on OpenGL which makes it possible to view high quality models in VR or via a render stream.

Another powerful aspect of Autodesk VRED is the extensive Python API that makes it possible to act on almost any data or setting that is available in your scenes. With their release in 2021, Autodesk introduced their Python API version 2 that simplified and unified access to core functions compared to the traditional Python API version 1.

In order to present all the new and exciting features of these releases, we set up a video tutorial series that covers an extensive part of all the new possibilities. Split in two topics, Autodesk VRED Pro and Autodesk VRED Core - the Cloud version of VRED - we produced a total of 18 videos that explain how to work with the new API, how to use services and signals, how to use the Javascript WebAPI or how to use the cloud-based VRED Core to build a render pipeline.

Part 1: Autodesk VRED Pro

Autodesk VRED Pro has had a Python API for years. While other visualization software companies for a long time only offered APIs based around C++ or C#, VRED uses the more accessible Python language for development. This makes it easy for beginners to take their first steps in scripting their own functionalities. From writing small automation tools helpful during development, to complex plugins and interactive presentations or configurators. Almost everything seems possible. To give you an idea about all the possibilities the Python interface has to offer we produced a 12-part series. This series covers basic topics like services and objects to more deep-dive topics like low-level field access.

Autodesk VRED: Python Tutorials (Youtube Playlist)

  1. Introduction to the VRED Python interface

  2. How to write scripts for VRED with Python

  3. Where to use scripts in VRED with typical use cases

  4. How to write script plugins

  5. How to use the web interface to control VRED remotely

  6. How to work with the v2 interface using services and objects

  7. How to script transformations of scene objects using vrdTransformNode

  8. How to combine the old v1 and the new v2 Python interface

  9. How to use the new data types in v2

  10. How to work with QT signals and the services

  11. How to customize the VR menu

  12. Low level field access with vrFieldAccess

Part 2: Autodesk VRED Core

Autodesk VRED Core is the cloud version of VRED Pro. In the simplest terms a version of the VRED Pro release without user interface. Meant to be used in a cloud environment its suited for streaming applications, pipeline automation and developing rendering servers. Although having no graphical interface, VREDs Python API and scripting ability make it possible to implement intricate applications. Part 2 of the tutorial series explains all relevant topics so that you are able to implement your own customized workflows

Autodesk VRED: Core Tutorials (Youtube Playlist)

  1. Introduction to VRED Core

  2. How to setup preferences for VRED Core

  3. How to use the VRED Core out-of-the-box features

  4. How to customize VRED Core with typical use cases

  5. How to write custom HTML overlay UI for VRED Core streaming interaction

  6. How to use the VRED Core WebAPI

Christopher Gebhardt
10+ years as a Software Developer, Christopher is on a mission to improve workflows for visualizing across various industries.

More topics

AI in design – The interplay between algorithms and human hands
The ability to generate complex visualizations or numerous iterations within seconds conflicts directly with questions of authorship, control, and the definition of one's own creative identity. So how can this powerful tool be meaningfully integrated into the design process without losing control and one's own signature style?
Creative Stage – The Artistic Freedom Plugin for Autodesk VRED
Autodesk VRED has long been an indispensable tool for 3D visualizations, but anyone who works with VRED on a regular basis is also familiar with the complexity of the programm. Variant set management is essential for structured and reproducible work, but the current process slows things down considerably. We changed this technically dominated workflow back into a creative process with Creative Stage.
Radspur – Mit Daten zu besseren Radwegen
Die Rad-Infrastruktur ist schon lange nicht mehr nur ein Nischenthema in der Verkehrsplanung. Sie hat Einzug in das Zentrum moderner, urbaner als auch suburbaner Lebensqualität gehalten. Doch vielerorts stehen dem Ausbau, vor allem in ländlicheren Gegenden, Herausforderungen wegen fehlenden oder unvollständigen Informationen bevor. Genau hier setzt unser Pilotprojekt an!
Radspur – Using data to improve bike paths
Cycling infrastructure has long since ceased to be a niche topic in transport planning. It has become an integral part of modern urban and suburban quality of life. However, in many places, especially in more rural areas, there are challenges to its expansion due to a lack of or incomplete information. This is exactly where our pilot project comes in!
AI in design - Local-based tools in the spotlight
AI tools are reshaping how we design, create and think but not all of them are built the same. Different AI tools represent different approaches to AI integration into the design process. There are options ranging from user-friendly platforms to complex, highly customizable frameworks. But which tool fits your project the best?
AI in design - Between creative revolution and digital responsibility
Artificial intelligence is no longer just a topic for research or software development; it has found its way into design practice. However, the enormous creative potential is in direct tension with questions of control, originality, and responsibility. The central challenge is: How can AI be meaningfully integrated into creative workflows without losing one's own creative identity?
Autodesk VRED: Integration of Depix AI
Our new plugin for Autodesk VRED Professional introduces generative AI in the high-end 3D visualization workflow. It allows users to generate photorealistic renders of CAD data directly in the viewport, streamlining the prototyping and rendering process. With faster iterations and refined details, it offers a seamless way to enhance visual quality, ideation and decision making. By integrating AI-driven rendering, it brings a new level of efficiency and realism to design and visualization workflows.
Webcast: Realtime HMI-Design with VRED 2024
In this Webcast, organized by Product Innovation Lounge by MFS, Christopher Gebhardt shows how Autodesk VRED allows us to stream online design tools like Figma directly into a real-time car visualization. This allows designers to test their designs as early as possible in virtual reality setups and adjust elements in real-time.
Webcast: Was gibts neues in VRED 2024?
Autodesk VRED's 2024 release introduced a complete overhaul of the user interface and other nice features. With Alias and VRED complementing their workflows for years, they now also visually integrate seamlessly, offering a unified and intuitive design experience for users.
Autodesk VRED: Post-Processing Volumes with Metadata
Autodesk VRED's 2023.3 release introduced Metadata services, allowing users to import and use metadata in VRED scenes. In this blog post we explore how to use metadata to implement a post-processing volume that controls camera parameters in real-time demonstrations.
Autodesk VRED: Real-Time Tutorials
Designers and engineers use Autodesk VRED, a powerful industry tool, to create high-quality 3D visuals and handle complex CAD data. Various techniques and settings can be used to optimize the performance and quality of realtime renderings, particularly in virtual reality. We were commissioned by Autodesk to produce a video tutorial series that explores realtime settings that can be customized to present virtual prototypes in the best possible way.