Announcement

Collapse
No announcement yet.

Could not find a control named "vraySunUpVector"

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

  • Could not find a control named "vraySunUpVector"

    Hi,

    with V-Ray for Maya version 2.10.01, revision 21335 from May 20 2012, 02:35:54, I get the following when using "vrayCreateVRaySun;"

    // Error: file: C:/Program Files/Autodesk/Maya2013/vray/scripts/vrayCreateGlobalsTab.mel line 1115: Could not find a control named 'vraySunUpVector'.

    Is there a new MEL command to create a sun? It's broken my script since I updated to Vray on Maya 2013.
    Maya 2020/2022
    Win 10x64
    Vray 5

  • #2
    It's working fine here:
    Maya 2013 / Vray 2.30.01
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      Yep, I get this here as well with the 2.10 version; it looks like it assumes that the UI for the sun/sky is already created (since originally the MEL procedure is only called from the UI).

      Until we fix that, you can simply check what vrayCreateVRaySun() does and duplicate that without the attrControlGrp call.

      Also keep in mind that most of the MEL stuff in V-Ray is implemented to support the V-Ray UI in Maya; we have not designed nor tested all of the procedures for work in other situations (though I can see where they can be useful for automating stuff and we have fixed a few issues in that regard).

      Best regards,
      Vlado
      Last edited by vlado; 01-06-2012, 04:44 AM.
      I only act like I know everything, Rogers.

      Comment

      Working...
      X