Announcement

Collapse
No announcement yet.

How to get of the list of enable RenderElements.

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

  • How to get of the list of enable RenderElements.

    Although current element list gets by "vrayRenderElementsExisting" command,
    Please how to get the list of elements of an enable/disable [0/1] state.

    Thank you.

    OakCorp Japan - Yuji Yamauchi
    oakcorp.net
    v-ray.jp

  • #2
    Originally posted by flat View Post
    Although current element list gets by "vrayRenderElementsExisting" command,
    Please how to get the list of elements of an enable/disable [0/1] state.

    Thank you.
    Something like : getAttr myRenderElement.enable ?
    www.deex.info

    Comment


    • #3
      Hello flat,

      You can use this script:


      string $reList[]=`ls -type "VRayRenderElement"`;
      string $re;
      for ($re in $reList) {
      if (`getAttr ($re+".enabled")`==1)
      print($re+"\n");
      }
      Tsvetan Geshev
      Technical Support Representative

      Chaos Group

      Comment


      • #4
        Thank you ! bigbossfr and Tsvetan.Geshev.

        You were a big help.

        OakCorp Japan - Yuji Yamauchi
        oakcorp.net
        v-ray.jp

        Comment

        Working...
        X