Announcement

Collapse
No announcement yet.

maxscipt error when assigning lights to VRayEnvironmentFog

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

  • maxscipt error when assigning lights to VRayEnvironmentFog

    max 2014
    VRay 3.10.03
    getting a dependency loop error when I try to run this script:
    atmosphere is VRayEnvironmentFog

    atmos = getAtmospheric 1
    lightArray = #($VRayLight001)
    atmos.lights = lightArray

    error is
    -- Runtime error: Assignment failed, possible dependency loop, $VRayLight:VRayLight001 @ [38.590561,11.500099,0.000000]

  • #2
    It looks like there is a problem to add all nodes from the array to the Env. Fog Gizmo or Lights field.
    We will see what can be done about it.

    I also tried to add a few objects one by one using the following command
    atmos = getAtmospheric 1
    lightArray = getCurrentSelection()
    append atmos.lights lightArray[1]


    and it worked.
    Tashko Zashev | chaos.com
    Chaos Support Representative | contact us

    Comment

    Working...
    X