Announcement

Collapse
No announcement yet.

Max 2015 starup / macroscript compile error / VRayLight_Plane

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

  • Max 2015 starup / macroscript compile error / VRayLight_Plane

    When I start 3ds max 2015, i get the message:

    "MAXScript Macroscript compile error: Unexpected end of script"

    And it opens the following script: _temp8336.mcr

    macroScript VRayLight_Plane
    category:"VRay"
    buttonText:"V-Ray Plane Light"
    toolTip: "Create V-Ray Plane Light"
    (
    fn setType obj = (if (classof(obj)==VRayLight) do (obj.type = 0))

    local enabled = false
    fn checkRenderer = (
    productRenderer = renderers.production


    if(productRenderer != undefined) then (
    enabled = ((productRenderer.classid[1] == 194


    Any clues to manage this problem?

  • #2
    Delete the script in question and it will be fine... This is a bug in 3ds Max - sometimes when you run two copies of 3ds Max at the same time, these temporary files can get messed up. They can also be messed up if 3ds Max crashes while it's writing them. Or something like that. In any case, deleting the erroring scripts solves the problem - at least until it happens again.

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

    Comment


    • #3
      It worked!!!
      Thank you very much for your help!

      Comment

      Working...
      X