Python API Improvements (2023.3)
You'll find changes to existing V1 API and V2 API Python commands, along with the addition of others, specifically ones for the new decoupled Scenegraph. See the list that follows for more details.
We added the following Python examples to 2023.3: Rendering Camera Tracks and Menu with Show Terminal button.
List of V1 API Changes
The following is a list of the Python command changes in the V1 API.
vrAnimWidgets:restoreAnimationhas been deprecatedrestoreAnimationshas been deprecated
vrOptimize:removeMetadatawas added
vrRenderSettings:The following are new added commands:
getDenoiseAlphasetDenoiseAlpha
vrScenegraph:- Basically, all functions have been marked as deprecated and have a pointer to the new function in the V2 API.
List of V2 API Changes
vrAnnotationService:The following are new added commands:
getSelectionsetSelectionselectionChanged
vrCameraService:Changes were made to the class documentation
getCameras- The parameter name was changedThe following are new added commands:
getSelectedNodessetSelectedNodeszoomToNodesselectionChanged
vrdAtfSettings:The following are new added commands:
getImportMetadatasetImportMetadata
vrdCameraBaseNode:isEqual- The documentation was updated
vrdCameraCollider:getEnabled- The documentation of return value changed
vrdCameraNode:- The documentation on top of the class changed
vrdDeltaLightNode:- The documentation on top of the class changed
vrdDirectionalLightNode:- The documentation on top of the class changed
vrdDiskLightNode:- The documentation on top of the class changed
vrdEnvironmentRaytracingSettings:The following are new added commands:
getAnisotropygetFilterSampledCausticssetAnisotropysetFilterSampledCaustics
vrdGeometryNode:The following are new added commands:
isComponentisMeshisSurface
vrdLensFlareGlow:- The documentation link in the class description was fixed
vrdMaterialNode:The documentation on top of the class changed
The following are new added commands:
getEnabledsetEnabled
vrdNode:The following are new added commands:
getIcongetPathgetSelectableFlaggetSynchronizedNodesgetUniquePathisImplicitSharedisSynchronizedsetSelectableFlag
vrdObject:The following are new added commands:
isNull- The documentation was updatedisType- The documentation updated
vrdPointLightNode:- Class documentation on top was added
vrdRectangularLightNode:- The documentation on top of the class changed
vrdSphericalLightNode:- The documentation on top of the class changed
vrdSpotLightNode:- Class documentation on top was added
vrdSwitchNode:- Class documentation on top was added
vrdViewpointNode:- The documentation on top of the class changed
vrFileIOServiceThe following are new added commands:
getWriteFileTypesFilterisReadOnlysaveNodespreQuit
vrGeometryTypes:VisibilityMergeModehas a new Enum class
vrGUIService:The following are new added commands:
openImportDialogviewInNewRenderWindow
vrImmersiveInteractionService:getActiveHMDSupportsHandTrackingwas added
vrMaterialService:The following are new added commands:
getAllMaterialTagsgetImportMetadatagetMaterialssetImportMetadata
vrNodeService:TraverseChoicehas a new Enum classfindNodeparameters changedfindNodesparameters changedfindNodes- A secondfindNodesfunction was addedThe following are new added commands:
findNodeWithUniquePathgetAllNodesgetCloneRootgetClonesgetCommonParentgetMaxDepthgetNodesFromIdsgetUniqueNameisInSubtreetraverse
vrScenegraphTypes:UnshareOptiondocumentation was added to the Enum valuesDuplicateOptionhas a new Enum classActionhas a new Enum classChangeFlaghas a new enum classNodeTypehas a new enum classMirrorModehas a new enum class
vrUVService:- The Python code example on top of the class was changed
vrWebEngineService:A typo in the Python code example was fixed
getWebEnginedocumentation was changed
New V2 API Classes
vrAssetServicevrdBillboardNodevrdClipPlaneNodevrdDistanceNodevrdEnvironmentNodevrdFindOptionsvrdHostSwitchNodevrdMaterialPoolNodevrdMatrixTransformNodevrdMetadatavrdMetadataEntryvrdMetadataEntryListvrdMetadataSetvrdNodeInfovrdSceneItemInfovrdSoundNodevrdSoundObstructorNodevrdStereoSwitchNodevrdTessellationSettingsvrGeometryServicevrMetadataServicevrMetadataTypesvrQueryServicevrScenegraphService