Hi,
I am not sure if is a bug or my computer.
I am using V-Ray 5 for Maya, update 1
(v5.10.20 from Jun 15 2021)
Bug is:
V-Ray Render Elements TAB CAN save Render elements PRESET.
BUT
It is not ABLE to Import the preset saved → render_elements
It is just me or someone else is having the same problem?
Error in the script editor states: requires -nodeType “VRayRenderElement” -dataType “VRaySunParams” -dataType “vrayFloatVectorData” -dataType “vrayFloatVectorData” -dataType “vrayIntData” “vrayformaya” “5”;
// File read in 0.065 seconds. //
You can select the REs you wish to save and in the Render Settings dialog open Presets > Export AOVs. You can load them back by the Import > AOVs option.
There does seem to be an issue when importing render elements through the Render Settings. The occurs when the “Render Setup” (the new render layers) profile is active with recent V-Ray builds. The issue is not present with the “Legacy Render Layer” system. I’ve logged it (internal bug-tracker id: VMAYA-10556) for developer investigation. As a workaround, you may follow Nikoleta’s suggestion.
Hi! As we encountered this “feature”, we’ve changed the pipeline tools to reference the Maya-file with needed AOV nodes and turning on the “Use referenced” checkbox in Render Elements settings.
PyMEL example:
import pymel.core as pm
pm.createReference(aov_file_path, groupLocator=True, namespace=':')
pm.SCENE.vraySettings.relements_usereferenced.set(True)