Kramsurfer
10-09-2008, 02:47 AM
So I have a script that generates a bunch of geometry via spline modeling... draw splines, add modifiers, convert To Mesh, attach to one MultiSub object..
The Problem is after running the script. I'm unable to access some properties of objects. .pos .scale ect...
In the listener with the object selected:
Selection[1].pos
-- Runtime error: Attempt to access deleted scene object
Selection[1].transform.pos
[23.44,123.42,563.53]
Interestingly, If I create new geometry by hand in the same session of max, they all have this issue. I'm guessing it has something to do with Max getting a memory mix up when I'm attaching the meshes...
Thanks in Advance..
The Problem is after running the script. I'm unable to access some properties of objects. .pos .scale ect...
In the listener with the object selected:
Selection[1].pos
-- Runtime error: Attempt to access deleted scene object
Selection[1].transform.pos
[23.44,123.42,563.53]
Interestingly, If I create new geometry by hand in the same session of max, they all have this issue. I'm guessing it has something to do with Max getting a memory mix up when I'm attaching the meshes...
Thanks in Advance..
