Announcement

Collapse
No announcement yet.

Python scene access list

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

  • #31
    It doesn't work for me either; will look into it.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #32
      Ok. Thanks for the answer !
      It would be really great if it works !!

      Max

      Comment


      • #33
        Hi Vlado,

        Any news about this ?

        Cheers,

        Max

        Edit:

        Ok ! My bad... It works perfectly with the latest nightly build !
        Thanks a lot !!

        ^^
        Last edited by CGMas; 02-05-2016, 02:12 AM.

        Comment


        • #34
          Hi,

          I've got an other problem with python scene access.
          It returns "invalid value" when I try to set environment fog...

          """
          import vray.utils

          fog = vray.utils.create('EnvironmentFog', 'myFog')
          env = vray.utils.findByType('SettingsEnvironment')
          env[0].set('environment_volume', fog)
          """

          Any ideas ?

          Comment


          • #35
            Hello,

            You need to make the fog plugin a list.

            So it will look like this

            import vray.utils

            fog = vray.utils.create('EnvironmentFog', 'myFog')
            env = vray.utils.findByType('SettingsEnvironment')
            env[0].set('environment_volume', [fog])
            Georgi Zhekov
            Phoenix Product Manager
            Chaos

            Comment

            Working...
            X