Notifications
Clear all

[Closed] Max 2010 maxscript evaluate bug?

Hi!
I have a maxscript tool that I update it frequently. Now I’m using 3dsmax 2010, but I have found a bug (maybe?). When I evaluate my script I get syntax error in random lines. Without modifying the script, I evaluate it again and another syntax error in other line. After evaluating 3 or 4 times, finally it says that the script is OK.

Any clue?

Thanks in advance!

5 Replies
1 Reply
(@reform)
Joined: 11 months ago

Posts: 0

Yep, I’ve had the same problem too. Not sure if it’s specific to 2010 but I’m sure I’ve not had it before with the script I’m working on.

Most likely a problem with variable scope.

 PEN

I’m guessing the same thing, try it in Max 2009 again and see if you get the same results.

I try it in max 2008 without problems…

another difference between max 2008 and max 2010 with same script:

 newPos = objInstances[1].position
                         
             aObject_father.position = newPos

in max2008 it works! but not in max 2010! There is no error, but the aObject_father.position doesn’t change to newPos position

Hum, strange, maybe you have some other scripts in MAX2008 that are pre-declaring the variables used by the script that is giving you errors?