API v2 2024.1¶
This page shows what was added to and changed in the Python API v2 in VRED 2024.1, compared to 2024.
Python version¶
The Python version was updated to 3.11.4.
API¶
New functions, classes and types¶
- vrCADFileTypes.C3MF
- vrCADFileTypes.IFC
- vrMaterialTypes.ExcludeXRiteMaterials
- vrFileIOService.abortImport(importId)
- vrFileIOService.exportNodes(file, nodes, synchronousConversion) → integer
- vrFileIOService.getExportSettings(fileType) → vrdFileExportSettings
- vrFileIOService.getExportSettingsFromPreferences(fileType) → vrdFileExportSettings
- vrFileIOService.setExportSettings(fileType, settings)
- vrGUIService.openExportDialog(file, nodes)
- vrGUIService.openExportSceneDialog(file)
- vrLightService.copyLights(nodes)
- vrLightService.getLightsClipboard() → List[vrdNode]
- vrLightService.isLightsClipboardEmpty() → bool
- vrLightService.pasteLights(targetNodes)
- vrdAtfSettings.getImportColors() → bool
- vrdAtfSettings.setImportColors(import)
- vrdDisplacement
- vrdFileExportSettings
Removed signals¶
- vrFileIOService.importedFile