for o in #($spine1,$spine2,$spine3) do ( local ctrl = Circle radius:20 isSelected:off name:("ctrl"+o.name) ctrl.pivot = [0,0,-5] ctrl.pos = o.transform.pos o.rotation.controller = orientation_constraint() o.rotation.controller.appendTarget ctrl 50 o.rotation.controller.relative = true ) you do not need to use ' ' after $…
Layer.addNode $ In this case the word Layer is more than just a word in the lines above I told it that Layer = "get Layer From this Name: MyLayerName" So anytime it sees the word layer it will go looking for a layer with that specific name. Then maxscript has a function called ".addnode" which adds whatever comes next to…
You will probably want to read up on the layer manager in the maxscript help files. http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=files/GUID-78B79975-7BA5-4A03-8FEF-27E78D14B575.htm,topicNumber=d30e259872 You will need to define the layer probably with "getLayerFromName" and then use ".addnode" to…
Thanks for the quick and efficient answer :D I did read the doc, and search over google , but as i said, i really started programming like 5 hour ago... So it is still hard to figure out what all the stuff mean or how to use it. Like in your piece of code, i have am not sur to understand: "Selection as array"…