What's New in Python API V1 and V2
Find what was added and changed in the VRED Python API v2 for each release.
For information on the Python Sandbox and other security information, see Software Security.
What's New in API v1 and v2 2026.2
Environment Variables
We added the environment variable, VRED_INSECURE_PYTHON. If you have struggled with Python Sandbox error messages, use VRED_INSECURE_PYTHON to overwrite the behavior of the Python Sandbox. Any value will disable the Python Sandbox. If VRED_SECURE_PYTHON is set, it will be ignored. VRED_INSECURE_PYTHON will override command line option and preference settings.
API V1
Some functions are in the VRED global namespace and can be called at any time without needing an instance of the class they are part of. Therefore, we added a "Global Functions" subheading for all functions without the need of a class instance.
We added these functions to the following classes in 2026.2:
In addition, the class documentation on top of the Ptr classes have a sentence now explaining this difference.
vrImagePtr - Moved
createImage() → vrImagePtrto Global Functions. All other functions are listed under the Class Functions section.vrLightLinkSetPtr - Moved
createLightLinkSet,deleteLightLinkSet,findLightLinkSet, andgetLightLinkSetsto Global Functions. All other functions are listed under the Class Functions section.vrMaterialPtr - Moved many functions to Global Functions. Added many functions to Class Functions. Moved
removeAssetManagerReferenceunder the Static Functions section.vrNodePtr - Moved
toNodeandcreateLightto Global Functions. Moved removeAssetManagerReference` under the Static Functions section.vrOSGWidget - Added a new variable, VR_DLSS_DLAA = 6, updated the
setDLSSQualityparameters, and updated thegetDLSSQualityreturn type documentation.
API V2
We added these functions to the following classes in 2026.2:
- vrDeviceInputTypes
- vrdSheen
We made the following changes in 2026.2:
vrdGradingPrimary
getEnabled(return type was changed)
vrdGradingRGBMCurve
getEnabled(return type was changed)
vrdGradingTone
getEnabled(return type was changed)
vrdLiveReferenceNode
hasBlockingOverlay(new function)
vrdPlasticMaterial
getSheen(new function)
vrdRenderPasses
getSheenColorPass(new function)getSheenIlluminationPass(new function)getSheenPass(new function)setSheenColorPass(new function)setSheenIlluminationPass(new function)setSheenPass(new function)
vrdRenderSettings
getBrdfMode(documentation updated)setBrdfMode(documentation updated)
vrHMDService
getEyeGaze(updated documentation)
vrLiveReferenceService
getLockOverlayEnabled(new function)setLockOverlayEnabled(new function)
vrRenderSettingsTypes
- in the
BRDFModeclass,BRDFMode.Ver_6_belowandBRDFMode.Ver_2014_abovewere updated
- in the
vrUVService
saveUVSnapshot(documentation updated)
vrUVTypes
- Many changes. Completely updated the
UVSet,SeamMode, andSnapshotModeclassesclasses.
- Many changes. Completely updated the
What's New in API v1 and v2 2026.1
API V1
We added these functions to the following classes in 2026.1:
vrCamera added showPerspectiveMatchLines
vrMovieExport
getSnapshotNoShowImagegetSnapshotNoSoundsetSnapshotNoSound
We changed the documentation for the
setSnapshotNoShowImagefunctionvrNodePtr
getShadowMapFilterRadiusgetShadowMapResolution
vrNodeUtils added
calcFaceNormalsvrOptimize added
removeLimitsvrOSGWidget
getDLSSMaxPhaseCountgetFoveationRingsgetIdleWaitTimegetLensMatchedShadingCoefficientsgetMouseButtonPreventsIdlegetUseLensMatchedShadingisIdleresetDLSSHistorysetDLSSMaxPhaseCountsetFoveatedQualitysetGPUProfilingsetDetailedGPUProfilingsetFoveationCentersetFoveationRingssetMouseButtonPreventsIdlesetSkipMaterialPreviewsetUseLensMatchedShading
We changed the documentation for the following functions:
getDepthPeelinggetDepthPeelingLayerssetAOShadowsVisiblesetDepthPeelingLayerssetActiveRenderPasssetDepthPeelingsetScreenspaceAO
We changed the documentation for the setNodeVisibilityFlags by adding cryptomatteLayer function to vrRenderLayerModule.
API V2
We added the following new classes in 2026.1:
- vrLiveReferenceTypes
- vrConstraintService
- vrdAimConstraintNode
- vrConstraintTypes
- vrdConstraintObject
- vrdConstraintGroupNode
- vrdConstraintNode
- vrdConstraintObject
- vrdConstraintTargetObject
- vrdOrientationConstraintNode
- vrdOrientationConstraintObject
- vrdParentConstraintNode
- vrdParentConstraintObject
- vrdPositionConstraintNode
- vrdPositionConstraintObject
- vrdTransformLimits
- vrdUpVectorConstraintObject
We added the following functions to these classes:
vrAnnotationService
getDefaultAnchoredsetDefaultAnchored
vrCameraTypes:
PasteOptionhas two new types:PasteChromaticAberrationAttributesPasteFilmGrainAttributes
vrdTransformNode added
getTransformLimitsvrdAnnotationNode
isAnchoredsetAnchored
vrdBumpTexture
getStructureSizeUVsetStructureSizeUV
vrdCameraBaseNode
getFilmGraingetFilmGrainColorWeightgetFilmGrainSizegetFilmGrainSplotchinessgetFilmGrainWeightsetFilmGrainsetFilmGrainColorWeightsetFilmGrainSizesetFilmGrainSplotchinesssetFilmGrainWeight
vrdCameraNode added
getTrackingMatrix.vrdRaytracedReflectionsSettings
getReflectVolumessetReflectVolumes
vrdRoughnessTexture
supportsMaximumRoughnessVsupportsMinimumRoughnessV
vrdSceneItemInfo added new enum values:
HasLiveReferenceHasConstraintHasLimits
vrdShadowMaterial
getUseBakedShadowssetUseBakedShadows
vrdTireTextureSettings
getMarkingsSizegetProfileRepeatgetProfileWidthsetMarkingsSizesetProfileRepeatsetProfileWidth
vrdTonemapper
getAutoExposuregetExposureCompensationgetMidGrayAdjustmentsetAutoExposuresetExposureCompensationsetMidGrayAdjustment
vrLiveReferenceService
findLiveReferencegetSearchPathisLiveReferenceObject
vrMaterialService added
mergeDuplicateMaterialsvrTransformTypes added
ManipulatorType
We changed the documentation for the following:
vrdAreaLightNode changed the documentation for
getShadowMap.vrdCameraBaseNode changed the documentation for
getChromaticAberrationBlur,getDistortionCoefficients, andsetDistortionCoefficients.vrdBumpTexture changed the documentation for
getStructureSizeandsetStructureSize.vrdCameraNode changed the documentation for the following:
getAimVisualizationScalegetAimVisualizationVisiblehasAimConstraintsetAimConstraintSourcessetAimVisualizationScalesetAimVisualizationVisible
vrdDeltaLightNode changed the documentation for
getShadowMap.vrdDisplacementTexture changed the documentation for the following:
getDisplacementOffsetgetDisplacementSilhouetteModesetDisplacementEdgeLengthVulkansetDisplacementHeightsetDisplacementOffsetsetDisplacementSilhouetteMode
vrdEnvironmentShadowsAndIllumination changed the documentation for the following:
getMapFilterRadiusgetMapResolutionsetMapFilterRadiussetMapResolution
vrDeviceService changed the documentation for the following:
getLeftTrackedHandgetRightTrackedHandgetTrackingOriginsetTrackingOrigin
vrdGlassMaterial changed the documentation for the following:
getTextureSettingssetExteriorColorsetInteriorColor
vrdNode changed the documentation for
getChildrenRecursive.vrdRaytracedAmbientOcclusionSettings changed the documentation for
getUseBakedShadowsForShadowMaterialandsetUseBakedShadowsForShadowMaterial.vrdRenderSettings changed the documentation for
setIccProfileandsetIgnoreOverrideIblSampling.vrdRoughnessTexture changed the documentation for the following:
getMaximumRoughnessVgetMinimumRoughnessVsetMaximumRoughnessVsetMinimumRoughnessV
vrdScreenSpaceAmbientOcclusionSettings changed the documentation for
getUseBakedShadowsForShadowMaterialandsetUseBakedShadowsForShadowMaterial.vrdShadowMap changed the class documentation on top.
vrdVRDevice changed the documentation for the following:
addVirtualButtongetNodegetWristOrientationAngleremoveVirtualButton(both functions)setButtonPressedsetTrackingMatrix
vrHandTypes removed the following from
HandTrackingGesture:TwoGestureRockGestureOpenHandGestureFistGesturePeaceGestureThumbsUpGesture
vrLiveReferenceService changed
referenceLockedvrMaterialTypes changed the documentation for the following:
MergeOptionschanged theDefaultExcludeXRiteMaterials
vrRenderSettingsService changed the class documentation and updated the example:
addToRenderQueueapplyModegetPresetNamesgetRenderStatisticrendersendToClusterQueuesetDefault
What's New in API v1 and v2 2026
Environment Variables
- ALIAS_VRED_LIVEREF_LOC - Provides the path to the directory to search for Alias / VRED Live Reference Data.
API V1
We added these functions to the following classes in 2026:
vrOptimize:
removeFrozenTextureTransformsvrOSGWidget:
setCPUProfilingsetProfilingIntervalsetProfilingPruningLimit
vrRenderSettings:
getRasterizationModesetRasterizationMode
We changed these functions from vrRenderLayerModule:
setNodeVisibilityFlags: changedoverrideMaterialand addedcryptomatteLayer
API V2
We added the following new classes in 2026:
- vrdAnimationSettings
- vrdLiveReferenceNode
- vrdRaytracedAmbientOcclusionSettings
- vrdRaytracedEnvironmentShadowsSettings
- vrdRaytracedReflectionsSettings
- vrdRenderAutomationVariantSetGroup
- vrdRenderPasses
- vrdRenderSettings
- vrdRenderStatistic
- vrdScreenSpaceAmbientOcclusionSettings
- vrLiveReferenceService
- vrRenderSettingsService
- vrRenderSettingsTypes
We added the following functions to these classes:
vrdCameraBaseNode:
getChromaticAberrationgetChromaticAberrationBlurgetChromaticAberrationStrengthgetDistortionCoefficientsgetDistortionEdgeModegetDistortionTypegetGradingWeightsetChromaticAberrationsetChromaticAberrationBlursetChromaticAberrationStrengthsetDistortionCoefficientssetDistortionEdgeModesetDistortionTypesetGradingWeight
vrdDeviceAction:
executeexecuteOnTrackedHand
vrdDisplacement:
getDisplacementEdgeLengthVulkansetDisplacementEdgeLengthVulkan
vrdDisplacementTexture:
getDisplacementEdgeLengthVulkansetDisplacementEdgeLengthVulkan
vrdGeometryNode:
hasFrozenWorldSpaceTextureTransform
vrdGlassMaterial:
getUseScreenSpaceRefractionssetUseScreenSpaceRefractions
vrdMaterial:
updateVersion
vrdMaterialXMaterial:
getUseScreenSpaceRefractionssetUseScreenSpaceRefractions
vrdMDLMaterial:
getUseScreenSpaceRefractionssetUseScreenSpaceRefractions
vrdNode:
clearWorldSpaceTextureTransformfreezeWorldSpaceTextureTransformhasAnimation
vrdShadowMaterial:
isVisibleInScreenSpaceRefractionssetVisibleInScreenSpaceRefractions
vrdTireTextureSettings:
getMappingRotatesetMappingRotate
vrFileIOService:
readMaterial
vrMaterialService:
comparegetMaterialBallsaveMaterialAsset
vrdSceneplateNode:
getSizesetSize
vrdBRDFCommonSettings:
getLineTubeRadiusgetProjectionSpacesetLineTubeRadiussetProjectionSpace
We added these enum to the following classes:
vrCADFileTypes:
CatiaV6
vrCameraTypes:
DistortionType
vrdBRDFCommonSettings:
vrdBRDFCommonSettings.ProjectionSpace
We changed the enum for the vrTextureTypes.Axis function of the vrTextureTypes class by adding vrTextureTypes.Axis.Custom.
We changed the documentation for the getLineTubeRadius function to vrdMaterialRaytracingSettings.
We changed start to fix a typo in the docs of vrClusterService.
What's New in API v1 and v2 2025.3
Python Examples
Added the following Python examples:
Under Physics Examples, we added Physics Save and Load Example, which demonstrates how collision data can be made persistent.
Under Snippets, we added these toolbar examples:
API V1
The following functions were removed from vrMovieExportModule:
getOptimizationModegetRenderingColorspacesetOptimizationModesetRenderingColorspace
The following functions were added to vrRenderSettings:
getOptimizationModegetRenderingColorspacesetOptimizationModesetRenderingColorspace
For vrSceneGraph, the parameter was changed for fixDepthOfField.
API V2
Added the following new classes in 2025.3:
- vrdGPUInfo
- vrdGradingLut
- vrdGradingPrimary
- vrdGradingRGBMCurve
- vrdGradingTone
Added the following new enum values:
vrCameraTypesCameraSensorResponse.OpenColorIOPasteOption.PasteGradingAttributes- new enum:
GradingLogSpace
Removed the DataTranslator enum from vrdAtfSettings and removed the getDataTranslator and setDataTranslator functions.
Added the following functions to vrdCameraBaseNode:
getGradingEnabledgetGradingLutgetGradingPresetFilenamegetGradingPresetFoldergetGradingPrimarygetGradingRGBCurvegetGradingToneisGradingPresetModifiedloadGradingPresetsaveGradingPresetsetGradingEnabled
Added the following functions to vrdTonemapper:
estimateWhitebalanceFromPixelgetHdrViewgetLookgetViewsetHdrViewsetLooksetView
Added the following functions to vrGUIService:
addMainWindowToolBarremoveMainWindowToolBar
For the following class, we changed the documentation:
vrNodeService
findNodes(names, wildcard, includeComponents, root, caseSensitive) → List[vrdNode]
vrDeviceService
addBlockedDeviceModelOrSerialgetBlockedDeviceModelsOrSerialsisBlockedDeviceModelOrSerialremoveBlockedDeviceModelOrSerialsetBlockedDeviceModelsOrSerialsdeviceCollisionStarteddeviceCollisionStoppeddeviceMoved
vrdProjectMergeSettings
getEnvironmentImportOptionsetEnvironmentImportOption
vrdVRDevice
disableRayenableRaygetSerialNumberpicksignalvibrate
vrMetadataService
getScenegraphTags
vrPhysicsService
clearCollisionDatahasCollisionData
Added the cleared signal to vrUndoService.
What's New in API v1 and v2 2025.2
Environment Variables
Added VRED_FORCE_HTTPS. When set to 1, it enables this option, redirecting incoming unencrypted (http) connection requests to encrypted (https) connection requests in the VRED web interface. Encrypted HTTPS Only is greyed out in the preferences and cannot to changed through the UI. When set to 0, it uses the Encrypted HTTPS Only preference option setting.
Python Examples
Added the following Python examnples:
- Under Other Script Plugins >
vrDragAndDropExample - Under Snippets >
vr_terminal
API V1
The following functions were added to these classes:
vrRenderSettingsgetOptimizationModesetOptimizationModegetRenderingColorspacesetRenderingColorspace
vrMovieExportgetOptimizationModesetOptimizationModegetRenderingColorspacesetRenderingColorspace
vrNodeUtilssetIsVRNode
vrRenderSettingsgetRaytracingPhotonUseAutomaticRadius
vrScenegraphfixDepthOfField
API V2
Added the following new classes in 2025.2:
vrMaterialEntryTypevrUserMimeTypes
Added the following functions to these classes in 2025.2:
vrAnnotationServicecreateAnnotationGroupdeleteAnnotationsduplicateAnnotations
vrdMaterialcompressTextures
vrdObjectSignalgetSignal
vrdOpenGLInfogetMax3DTextureSizegetMaxArrayTextureLayersgetMaxCubeMapTextureSizegetMaxTextureImageUnits
vrdTonemappergetAutoAdjustISOgetResponseCurvePowergetResponseCurveSaturationsetAutoAdjustISOsetResponseCurvePowersetResponseCurveSaturation
vrFileIOServiceenableNewFormatgetSceneImportSettingsFromPreferencessetKey
vrGPUServicegpuInfo
vrHMDServiceisMixedRealityDepthEstimationSupported
vrMaterialServicecompressTextures
vrMetadataServicegetMaterialTagsgetScenegraphTags
vrPhysicsServiceclearCollisionDatahasCollisionDatarestoreCollisionDatastoreCollisionData
Added the return types, CameraSensorResponse and AgX_Custom to vrCameraTypes.
For the following class, we added these new signals:
vrAnnotationServiceannotationGraphChanged
vrFileIOServiceprojectReadyToRender
For these classes, the following have changed:
vrAnnotationServicecreateAnnotation
vrdVRDevicegetSerialNumber
vrDeviceServicesetBlockedDeviceModelsOrSerialsgetBlockedDeviceModelsOrSerialsaddBlockedDeviceModelOrSerialremoveBlockedDeviceModelOrSerialisBlockedDeviceModelOrSerial
What's New in API v1 and v2 2025.1
Environment Variables
Changed the description for VRED_DISABLE_ADP.
Python Examples
Added a new Physics section with two examples and added a steering wheel example to the Constraints section.
API V1
Changes have been made to the following. Visit the Python API V1 section for specifics.
For vrAnimWidgets, the parameters and return value for addTranslationControlPoint have changed and addTranslationControlPoints (same) has changed.
For these classes, the following have changed:
vrCamerasetFogColorDistancesetFogColorHeightsetFogNoiseOffsetDistancesetFogNoiseOffsetHeightsetFogNoiseSizeDistancesetFogNoiseSizeHeightsetFogRangeHeight
vrConnector-setConnectorMousePoschangedvrInteractiongetUseBoundingboxesForInteractionInVRsetUseBoundingboxesForInteractionInVR.
vrMaterialPtr-setTextureTransformchangedvrNodeUtils-unshareCoreschangedvrOSGWidgetgetSuperSamplingsetSuperSamplingsetSuperSamplingOnCameraMovementsetSuperSamplingQualitygetSuperSamplingQuality
vrRenderSettings-setRenderVariantSetschangedvrScenegraph-cloneNodeschangedFor
vrSequencer, the following have changed:readSequenceXMLrunSequenceHttp
vrVariants-createAndCaptureVariantSetchangedvrVariantSetPtr-addClippingPlanechangedvrVredUi-getMainWindowchangedvrWebOverlay-setFramechanged
For vrMaterialEditor, the documenmtation for enableSubstancePresetCache has changed.
API V2
We added the following classes to the Python API V2:
vrdPhysicsConfigvrdPhysicsConvexConfigvrdPhysicsHullConfigvrdPhysicsInfovrdPhysicsTrianglesConfigvrPhysicsServicevrPhysicsTypesvrLogServicevrLogTypes
We added these functions to the following:
vrdFileExportSettingsgetKeepDefaultCamerasgetTextureCompressionModegetTextureCompressionQualitysetKeepDefaultCamerassetTextureCompressionModesetTextureCompressionQuality
vrdAtfSettingsModelStateenumgetModelStatesetModelState
vrdNodeaddedisSynchronizedWithvrdViewpointNodeaddedremovePreviewvrFileTypesaddedTextureCompressionModeenumvrImmersiveInteractionServicegetShowTrackedHandsInMRgetUseBoundingBoxCollisionObjectsisHandTrackingGestureEnabledsetHandTrackingGestureEnabledsetShowTrackedHandsInMRsetUseBoundingBoxCollisionObjects
For vrdSubstanceMaterial, we added an example to the class documentation.
We made these changes to the following functions:
vrdAtfSettingsgetUseLegacyLoader()setUseLegacyLoader().
vrdGeometryNodegetNormalsgetPositionsgetTexCoordssetNormalssetPositions
vrMaterialServicegetMaterialFromId
vrReferenceServicesetUpdateMonitoringInterval
We removed getSRgbMidColorPosition and setSRgbMidColorPosition from vrdLinearGradientStop.
Some classes in the following have been changed to enum values. Visit the Python API V2 section for specifics.
vrAnnotationTypes.ScalingModevrBakeTypes.AmbientOcclusionWeightvrBakeTypes.BakeStatevrBakeTypes.BakeTypevrBakeTypes.DenoiserTypevrBakeTypes.DirectIlluminationModevrBakeTypes.IlluminationQualityvrBakeTypes.RenderervrBakeTypes.SubdivisionQualityvrBakeTypes.UVGenerationvrCADFileTypes.FileTypevrCADFileTypes.JobStatevrCameraTypes.BlendModevrCameraTypes.CameraAxisvrCameraTypes.CameraCandelaMappingvrCameraTypes.CameraColorspacevrCameraTypes.CameraConstraintvrCameraTypes.CameraEyevrCameraTypes.CameraProjectionModevrCameraTypes.CameraResponseCurveModevrCameraTypes.CameraSensorResponsevrCameraTypes.CameraSensorResponseCurveMappingvrCameraTypes.CameraSpacevrCameraTypes.CameraStereoLayoutvrCameraTypes.CameraTonemappervrCameraTypes.CameraTrackTypevrCameraTypes.CollisionStructureBuildMethodvrCameraTypes.DepthOfFieldModevrCameraTypes.FogFalloffModevrCameraTypes.FovModevrCameraTypes.InteractiveDofQualityvrCameraTypes.PasteOptionvrCameraTypes.TurntableDirectionvrCameraTypes.VanishingLinesTypevrCameraTypes.ViewpointCreationModevrClusterTypes.JobTypevrFileTypes.FileExtensionFilterModevrFileTypes.TextureCompressionModevrGPUTypes.OpenGLFeaturevrGPUTypes.OpenGLVendorvrGUIService.DialogTypevrGUIService.ViewCubePositionvrGUIService.ViewCubeSizevrGeometryTypes.DecoreModevrGeometryTypes.DecoreSubObjectModevrGeometryTypes.DecoreTransparentObjectModevrGeometryTypes.PrimitiveTypevrGeometryTypes.VisibilityMergeModevrHandTypes.FingerTypevrHandTypes.HandRolevrHandTypes.HandTrackingGesturevrHandTypes.HandTrackingTypevrImageTypes.LoadOptionsBitmaskvrImageTypes.LoadTypevrImageTypes.ShareModevrImmersiveInteractionTypes.ControlModevrImmersiveInteractionTypes.TeleportGroundModevrKernelServices.RelativeOperatorvrKernelServices.vrMaterialEntryTypevrLensFlareTypes.ElementShapevrLensFlareTypes.ElementTypevrLensFlareTypes.PresetTypevrLensFlareTypes.StarShapevrLightTypes.AttenuationvrLightTypes.LightTypevrLightTypes.UnitvrLightTypes.VolumeIlluminationModevrLogTypes.LevelvrLogTypes.LogTypevrMainWindow.DockOptionvrMainWindow.PaintDeviceMetricvrMainWindow.RenderFlagvrMaterialEntryTypevrMaterialTypes.MaterialTypevrMaterialTypes.MergeOptionsvrMetadataTypes.ChangeFlagvrMetadataTypes.MatrixOrdervrMetadataTypes.ObjectTypevrMetadataTypes.ValueTypevrNodeService.TraverseChoicevrPhysicsTypes.AxisvrPhysicsTypes.ObjectTypevrProductTypes.TypevrReferenceTypes.ExportLocationvrReferenceTypes.FileStatevrReferenceTypes.LoadModevrReferenceTypes.NotificationModevrReferenceTypes.StatevrReferenceTypes.TypevrRenderTypes.FoveatedQualityPresetvrRenderTypes.ShadingQualityvrRoughnessTextureTypes.ValueMappingvrScenegraphTypes.ActionvrScenegraphTypes.ChangeFlagvrScenegraphTypes.DuplicateOptionvrScenegraphTypes.MirrorModevrScenegraphTypes.NodeTypevrScenegraphTypes.UnshareOptionvrScenegraphTypes.VolumeTypevrSceneplateTypes.ContentTypevrSceneplateTypes.NodeTypevrSceneplateTypes.PositionvrSceneplateTypes.RepeatModevrSceneplateTypes.SizeTypevrSpectrum.AnalyticFunctionvrSpectrum.SpectraDefinesvrStyleTypes.ColorThemevrSubstanceTypes.PresetApplyModevrTextureTypes.AxisvrTextureTypes.MappingTypevrTextureTypes.RepeatModevrTextureTypes.TriplanarBlendModevrTransformService.VariantOptionsModevrTransformTypes.EulerRotationOrdervrTransformTypes.VariantValueBitMaskvrUVTypes.PostScaleModevrUVTypes.PreRotateModevrUVTypes.PreScaleModevrUVTypes.SeamModevrUVTypes.SnapshotModevrUVTypes.SnapshotStylevrUVTypes.TileAssignModevrUVTypes.UVProjectionModevrUVTypes.UVSetvrVRInputDeviceTypes.VisualizationModevrXRealityTypes.MarkerTrackingTypesvrXRealityTypes.MarkerTypesvrXRealityTypes.XRRenderModevrdAreaLightNode.QualityModevrdAtfSettings.ImporterVersionvrdAtfSettings.ModelStatevrdAtfSettings.SmartReferenceBehaviorvrdAtfSettings.SourceReferenceBehaviorvrdBRDFCommonSettings.LightingModevrdBRDFCommonSettings.VrsQualityvrdBlendChunk.DstFactorvrdBlendChunk.EquationvrdBlendChunk.SrcFactorvrdBrushOrientation.BrushAxisvrdBrushedMetalMaterial.MetalTypevrdBumpTexture.BumpTypevrdCarbonPattern.TypevrdCarbonPattern2D.TypevrdCarbonPattern3D.TypevrdChromeMaterial.MetalTypevrdChunkMaterial.TransparencyModevrdClearcoat.TypevrdCubeTextureChunk.InternalFormatvrdCubeTextureChunk.MagFiltervrdCubeTextureChunk.MinFiltervrdCubeTextureChunk.WrapModevrdDepthTestChunk.DepthFuncvrdDiskLightNode.QualityModevrdDisplacement.SilhouetteModevrdDisplacementTexture.DisplacementSilhouetteModevrdEnvironmentLightSource.LightTypevrdEnvironmentMaterial.GeometryTypevrdEnvironmentRaytracingSettings.ShadowingvrdFileExportSettings.SurfaceExportModevrdGLSLShaderParameterList.ParameterTypevrdGlassMaterial.DispersionInputTypevrdGlassMaterial.FresnelQualityvrdGlassMaterial.MediumTypevrdHDRLightStudio.LightPaintModevrdImmersiveMenu.MenuConstraintvrdImmersiveMenu.MenuOriginvrdMaterialChunkList.ChunkTypevrdMaterialRaytracingSettings.IlluminationModevrdMetallicCarpaintMaterial.PaintTypevrdPolygonChunk.CullFacevrdPolygonChunk.FillModevrdPolygonChunk.FrontFacevrdRectangularLightNode.QualityModevrdReflectivePlasticMaterial.FresnelQualityvrdRemoteEngine.TextureSlotTypevrdRoundedEdges.EdgeModevrdRoundedEdges.EdgeTypevrdSceneItemInfo.FlagsvrdShadowMaterial.OpacityModevrdShadowMaterial.ReflectionModevrdSkylightMaterial.GeometryTypevrdSkylightSkyAndSun.SkyModelvrdSoundNode.ReverbEffectvrdSoundNode.SpatializeSourceModevrdSphereEnvironmentMaterial.GeometryTypevrdSphericalLightNode.QualityModevrdSubstanceEnvironmentMaterial.GeometryTypevrdSubsurfaceScattering.MediumTypevrdSubsurfaceScattering.ModevrdTextureChunk.InternalFormatvrdTextureChunk.MagFiltervrdTextureChunk.MinFiltervrdTextureChunk.WrapModevrdTextureEngine.TextureSlotTypevrdVolumeScatterMaterial.NoiseModevrdWebEngine.TextureSlotTypevrdWovenClothMaterial.ClothPresetvrdWovenClothMaterial.WeaveTypevrdWovenClothMaterial.YarnType
What's New in API v1 and v2 2025
API V1
These are the new Python classes:
vrMovieExport:
getOcclusionRange
vrOSGWidget:
isDLSSSupported
API V2
These are the new Python classes:
- vrdGpuStateInfo
- vrdLinearGradient
- vrdLinearGradientStop
- vrdOpenVDBMaterial
- vrdVolumeMaterial
- vrdVolumeNode
- vrdVolumeScatterMaterial
- vrMaterialEntry
These are the changes made to API v2:
vrCameraService:
createViewpoint(documentation of return value changed)
vrCameraTypes:
- New in the
CameraSensorResponseEnum:
- New in the
CameraSensorResponse.AgXCameraSensorResponse.AgX_PunchyNew Enum:
CameraSensorResponseCurveMappingNew in
CameraColorspace:
CameraColorspace.AgXColorspacevrdAtfSettings:
- New functions:
getImportAnimationsgetImportSwitchMaterialsgetImportTexturessetImportAnimationssetImportSwitchMaterialssetImportTexturesvrdBaseLightNode:
setVolumeIlluminationMode: 'mode' parameter has been documented
vrdDeviceInteraction:
createControllerAction(documentation updated)
vrdEnvironmentMaterial:
- New functions:
getIlluminateVolumessetIlluminateVolumesvrdGlassMaterial:
- New functions:
getIndexOfRefractionSpectrumsetIndexOfRefractionSpectrumvrdSubsurfaceScattering:
- New functions:
getUseRoughnesssetUseRoughnessvrdTonemapper:
- New functions:
getSensorResponseCurveMappingsetSensorResponseCurveMappinggetColorspace(return value updated)setColorspace(parametervalueupdated)
vrGUIService:
- New signals:
recentFilesChangedrecentFilesClearedvrHMDService:
- New functions:
getMixedRealityDepthEstimationEnabledsetMixedRealityDepthEstimationEnabledvrNodeService:
initFindCache(documentation updated)
vrReferenceService
vrReferenceService.setUpdateMonitoringInterval(msecs)(documentation updated)
vrScenegraphService:
- New functions:
createVolume
- New functions:
vrScenegraphTypes:
- Added to the
NodeTypeEnum:
- Added to the
VolumeNode- New Enum:
VolumeType
- New Enum:
Environment Variables
We made a change to the environment variable VRED_DISABLE_ADP. ADP can now be disabled machine-wide by creating a new registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Privacy\TrustLevel(string value), with a value of 1.
What's New in API v2 2024.2
This page shows what was added to and changed in the Python API v2 in VRED 2024.2, compared to 2024.1.
We have decided to postpone the release of the Python API v2, due to our plans to implement various changes and improvements related to Volume Rendering with VRED 2025 that will have an impact on the API.
Python Version
The Python version was updated to 3.11.6.
Since the library responsible for automatically updating Python 2 scripts to Python 3 has been deprecated as of Python 3.11, we recommend you update these scripts to Python 3 to avoid any future problems.
Qt Version
Qt has been updated to 6.2.10.
New Environment Variables
These are the new environment variables in 2024.2:
VRED_CLUSTERSERVICE_CONFIGVRED_CLUSTERSERVICE_DISABLE_ALLVRED_CLUSTERSERVICE_ENABLE_ALL
Removed Environment Variables
We removed the environment variable, STARVR_SDK.
API
This is a summary of the new functions, classes, and types.
- vrdBaseLightNode.getVolumeIlluminationMode() → vrLightTypes.VolumeIlluminationMode
- vrdBaseLightNode.setVolumeIlluminationMode(mode)
- vrLightTypes.VolumeIlluminationMode
- vrdEnvironmentMaterial.getIlluminateVolumes() →
bool - vrdEnvironmentMaterial.setIlluminateVolumes(value)
- vrGPUService.gpuStateInfo() →
List[vrdGpuStateInfo] - vrdGPUStateInfo
- vrMaterialTypes.OpenVDBVolume
- vrMaterialTypes.VolumeScatter
Python API V1 Changes
These are the Python API V1 changes found in 2024.2:
vrMovieExport - added the parameters
background_passandvolume_passtosetCombinedChannelsRenderPasses, and added the following functions:getDepthModegetDepthRangesetDepthModesetDepthRangesetOcclusionRangegetOcclusionRange
vrOSGWidget - added the following functions:
setActiveRenderPass- addedVOLUME_COLOR_LAYERparameterssetDisplayMode- removedVR_DISPLAY_VRHERO_XTAL
vrRenderSettings - changed the following functions:
setDenoiseAlpha- changed the parameter todenoiseAlphasetRenderPasses- addedvolume_colorto the list of passes
Python API V2 Changes
These are the Python API V2 changes found in 2024.2:
vrCADFileTypes - made the following changes:
Mayawas removedSLPwas added
vrdAtfSettings - renamed
Jt Open (Experimental)toJt OpenforgetJtToolkitvrdBaseLightNode - added the following:
getVolumeIlluminationModesetVolumeIlluminationMode
vrdDeviceInteraction- made changes to the documentation for the following classes:
addSupportedInteractionGroupcreateControllerActiongetControllerActionremoveControllerActionremoveSupportedInteractionGroupsetControllerActionMapping(including themappingparameter that changed)setSupportedInteractionGroups
vrDeviceService - made changes to the documentation for the following classes:
addBlockedDeviceModelOrSerialcreateInteractiongetBlockedDeviceModelsOrSerialsgetLeftTrackedHandgetRightTrackedHandgetVRDeviceBySerialNumberisBlockedDeviceModelOrSerialremoveBlockedDeviceModelOrSerialsetBlockedDeviceModelsOrSerialssetTrackingOrigindeviceCollisionStarteddeviceCollisionStoppeddeviceMoved
vrdFileExportSettings - added documentation to all
SurfaceExportModeenum entriesRenamed the parameter
valuetoenable, with any exceptions noted below, for the following functions:setExportAnimationClipssetExportAnimationCurvessetExportAnnotationssetExportCamerassetExportColorssetExportEnvironmentGeometriessetExportGeometrySwitchessetExportInvisibleDatasetExportLightmapssetExportLightssetExportMaterialSwitchessetExportMeshessetExportMetadatasetExportSceneplatessetExportScriptssetExportSurfaces- renamed thevalueparameter tomodesetExportTouchSensorssetExportTransformVariantssetExportVariantssetExportVariantSetssetExportVertexColorssetFbxFormat- renamed thevalueparameter toformatsetFbxVersionId- renamed thevalueparameter toidsetInlineTexturessetKeepEmptyGeometryNodes- renamed thevalueparameter tokeepsetKeepEmptyGroupNodes- renamed thevalueparameter tokeepsetKeepEmptyMaterialGroupNodes- renamed thevalueparameter tokeepsetKeepEmptyShellNodes- renamed thevalueparameter tokeepsetKeepUnusedMaterials- renamed thevalueparameter tokeepsetRemoveBSidessetStlFormat
vrdVertexBakeSettings - updated the
setIntensityThresholdfunction documentation.vrdVRDevice - made changes to the note, regarding the OpenXR mode, for the following:
addVirtualButtondisableRayenableRaygetSerialNumbergetWristOrientationAnglepickremoveVirtualButton- for both overloaded methodssetButtonPressedsetButtonTouchedsetTrackingMatrixsignalvibrate
vrFileIOService - removed the following signals:
addedGeometryaddLoadedMaterialpreExportGeometrychanged the spelling of 'cad' to 'CAD' and 'vred'to 'VRED'
added documentation for
projectupdated the documentation for the following functions:
checkCadTypegetImageReadFiltergetImageReadFilterimportFiles
vrGPUService - added
gpuStateInfovrGUIService - added the
OpenVDBvalue to theDialogTypeenumvrHMDService - removed the following functions:
getStarVRRenderSettingssetStarVRRenderSettings
vrImmersiveInteractionService - changed the
setViewpointModedocumentationvrLightTypes - added the enum
VolumeIlluminationModevrMaterialTypes - added the following values in
MaterialType:VolumeScatterOpenVDBVolume
Removed
We removed support for vrdStarVRRenderSettings.
What's New in API v2 2024.1
Python for Exporting Nodes
We added new methods for exporting nodes. Look at vrFileIoService, vrdFileExportSettings, and vrdFileExportSettings::SurfaceExportMode. Some basic examples have been added to vrFileIOService showing how to import and export files, as well as how to change these settings. See vrdFileExportSettings and vrdFileExportSettings Example for additional information.
Environment Variable Updates
We fixed the following:
VRED_COLLABORATION_NO_UPLOAD- fixed ("uupload")VRED_CURRENT_PROJECT_DIR- removed the extra space before '_DIR"
We added the following:
VRED_IMPORT_PERFORMANCE_LOGVRED_SECURE_PYTHONVRED_WORKSPACES_PATH
API V1 Updates
We added the following to vrCollision:
getCollidingNodesgetCollidingTriangleIndicesgetCollidingTrianglesgetCollisionInfogetCollisionPoint
API V2 Updates
We added the following classes:
- vrdDisplacement
- vrdFileExportSettings
We changed these classes:
Changes to vrCADFileTypes:
CatiaV5- Updated the comment to refer to V5C3MFIFCSLP
Changes to vrdAtfSettings:
getImportColors()setImportColors()
Changes to vrdMaterialXProperties:
- The code example in the class description was updated (
PySide2->PySide6)
- The code example in the class description was updated (
Changes to vrdMDLProperties:
- The code example in the class description was updated (
PySide2->PySide6)
- The code example in the class description was updated (
Changes to vrFileIOService:
We added the following:
abortJobs()exportNodes()getExportSettings()getExportSettingsFromPreferences()setExportSettings()We removed the following signals:
addedGeometryaddLoadedMaterialimportedFilepreExportGeometrysequences
Changes to vrGUIService:
openExportDialog()openExportSceneDialog()
Changes to vrLightService:
copyLights()getLightsClipboard()isLightsClipboardEmpty()pasteLights()
Changes to vrMaterialTypes:
MergeOptionsFor
Default, the documentation changedFor
IgnoreName, the documentation changedFor
IncludeSwitchMaterials, the documentation changedAdded
ExcludeXRiteMaterials
Changes to vrQueryService:
- The class documentation was updated and a code example was added
What's New in API v2 2024
This page shows what was added to and changed in the Python API v2 in VRED 2024, compared to 2023.4.
Python Version
The Python version was updated to 3.11.3.
- VRED's Python version can be printed from within VRED with:
print(sys.version)
Qt Version
The Qt version was updated from Qt 5 to 6.2. This includes that the PySide module name changes from PySide2 to PySide6, and shiboken2 to shiboken6.
When option “Preferences > Script > Translate script to current Python version” is enabled, the names PySide2 and shiboken2 are automatically replaced by PySide6 and shiboken6 on the fly before executing Python scripts in VRED.
Porting Applications from PySide2 to PySide6
- VRED's Qt version can be printed from within VRED with:
print(PySide6.QtCore.qVersion())
API
These are the new functions and classes:
vrGUIService.getViewCubeOpacity() → float
vrGUIService.getViewCubePosition() → vrGUIService.ViewCubePosition
vrGUIService.getViewCubeSize() → vrGUIService.ViewCubeSize
vrGUIService.isNavBarVisible() → bool
vrGUIService.isViewCubeVisible() → bool
vrGUIService.setNavBarVisible(value)
vrGUIService.setViewCubeOpacity(value)
vrGUIService.setViewCubePosition(value)
vrGUIService.setViewCubeSize(value)
vrGUIService.setViewCubeVisible(value)
vrHMDService.getActiveOpenXRRuntimeName() → string
vrHMDService.getActiveOpenXRSystemName() → string
vrHMDService.getOpenXRDepthLayerCompositionEnabled
vrHMDService.setOpenXRDepthLayerCompositionEnabled(enable)
vrMaterialTypes.MDL
vrMaterialTypes.MaterialX
vrRoughnessTextureTypes
vrdMDLMaterial
vrdMaterialXMaterial
vrdRoughnessTexture.getRoughnessMapType() → vrRoughnessTextureTypes.ValueMapping
vrdRoughnessTexture.setRoughnessMapType(mapping)
New Material Roughness
In VRED 2024, the material roughness is changed to a perceptually linear behavior and a new value range between 0 and 1. In older VRED versions, the behavior was non-linear and the maximum value was 40. When importing older files into VRED, material roughness values are automatically adjusted to the new behavior.
In case you set specific roughness values explicitly via script, for example with vrdPlasticMaterial.setRoughness(roughness), you must adjust the value in the script.
See this snippet for the conversion: snippets/convertRoughness.py.
For information on the Python Sandbox and other security information, see