Hmm, if the script is on a button on a toolbar, it MUST be inside a MacroScript Somename category:”SomeCategory” ( ) That’s it!! Thanks, Bobo!…
it works, Kameleon! Good trick! i never thought about using Xrefs to get what I think! Thanks all for your answers!
no, I mean when merging objects from a file, how can you know the relations between objects before merging them? I want to force to merge the children…
I try it in max 2008 without problems… another difference between max 2008 and max 2010 with same script: newPos = objInstances[1].position …
I found a solution! I was using this, and it didn´t work: i.material = CrocomatStandard() but I put this, and it works!! tempMaterial = Crocoma…
No, it isn’t. The custom material is defined via a .ms that is in \scripts\startup folder, so it is started up when I start 3dsmax. So it has no sense…
I have found the problem. MarcoBrunetta was right. I was using close bakeBitmap but didnt work. now I tried with bakeBitMap = () after copying it to t…
thanks, LoneRobot, but now I see it’s not a problem of freeing the clipboard memory. Your code works, but still I get the same image in the clipboard….