You can get/set position only for verts, so you have to check the subobject level and convert edges/faces to verts and then get/set the position. To avoid if-loops try with "case of" statement: ( case subobjectlevel of ( 1: (vertPos = for v in (polyop.getVertSelection selection[1]) collect (polyop.getVert selection[1] v))…
yeah if or case doesn't matter :D i just dont like them both for this issue :D but the selection stuff seems pretty cool. for splines i have to do it in a seperate way i think. damn. just thought maybe there is a controler which sits on top of the selection - independ of its type - and allows access to the transformation :(
Hi friends! I wrote a small script in the past which could copy/paste the position of a spline-knot. Nothing special. BUT i want to improve the script that makes it possible to copy paste a position of any object/subobject in 3Ds Max. The question i have: Is it possible to grab/set transformation values independet from the…