Announcement

Collapse
No announcement yet.

list of render elements with mel or python?

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

  • list of render elements with mel or python?

    Hi,

    I am trying to get the list of render elements present in a scene via python or mel.

    I've tried this but it returns None:
    cmds.listNodeTypes("VRayRenderElement")


    any ideas?
    showreel: http://vimeo.com/27236919

  • #2
    Hello,

    Not sure why it is not working with python, but the MEL command it working as expected.

    ls -type "VRayRenderElement";

    It seems like there are some (more general) issues with python command, I will investigate that further.

    Hope the MEL command helps.
    V-Ray for Maya developer

    Comment


    • #3
      Hi,
      cmds.ls( type = "VRayRenderElement")
      www.deex.info

      Comment


      • #4
        ofcourse, how stupid of me, that works perfect.
        thanks!
        showreel: http://vimeo.com/27236919

        Comment

        Working...
        X