Hi, im pretty new to maxscript. my main scripting experience from before has been in c# so there are many things that are a bit puzzling to me. right now im scratching my head because of this one: take this code for example: splineObj = selection[1] print (numsplines splineObj) as string Outputs: "3" But this: splineObj =…
So MaxScript does a lot of converting of variable types for you behind the scenes. This is nice because you don't need to use "as string" with print. The print function will attempt to convert the input parameter to string. This is NOT so nice because it's confusing you with ClassOf. modPanel.getCurrentObject() returns a…