Announcement

Collapse
No announcement yet.

Bug - Render Elements - not importing Preset

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug - Render Elements - not importing Preset

    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. //

  • #2
    Hey Tyros,

    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.
    Nikoleta Garkova | chaos.com

    Comment


    • #3
      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.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Hi Nikoleta and Hermit.


        I did not know about the <Presets <Export AOV and Import AOV. Used to be only RenderPresets save on that tab. and using json.

        I am thinking to know if this JSON would work to import in other applications and have the same presets like in max or Houdini.

        Thanks a lot for the help

        Comment


        • #5
          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.

          Code:
          PyMEL example:
          
          import pymel.core as pm
          
          pm.createReference(aov_file_path, groupLocator=True, namespace=':')
          pm.SCENE.vraySettings.relements_usereferenced.set(True)

          Comment

          Working...
          X