[Closed] MAXscript question
how can i find that a object like a cube how much lockally rotated from previous frame?
Yeah, I had the same results (verts stayed selected properly), I just ran out of time earlier to post. I don’t think it would be a key binding conflict, since Max is smart enough not to allow that. It’s a very curious problem:shrug:
RH
Ok, that’s wierd. Might have something to do with my configuration of MAX, not sure. Anyway the sript is ready now, I’ve posted it in the MAX forum:
Try it uot and let me know what you think. It’s only the second script I’ve made, but I think it does the job. The way the script works now you can’t type in any unit amount to move the selection. It would be good if one could do that, but this was the best I could come up with right now:). Thanks for the replys.
You’re asking in the wrong forum, but I shall redirect you my friend…
http://forums.cgsociety.org/forumdisplay.php?f=6
…oh, and welcome to CGTalk.
yes thats what i found too. i actually solved this one some time ago with help from the polycount forums, here is a couple of functions i wrote to get $ from modPanel.getCurrentObject()
they could probably be optimized by using the baseObjectOnly flag (as well as ofcourse removing the print commands) thank you for pointing that out aaandres, i had not found that entry in the help docs yet. i will probably be integrating that into a new function
function Get_EPolyorPMeshFor modorObj =
(
print "get BaseNode array:"
baseNodeArray = refs.dependents (modOrObj)
print "classes in BaseNode array:"
for node in baseNodeArray do (print (classof node))
print "collect polymeshobjects:"
polyMeshNodes = for node in baseNodeArray where
classof node == PolyMeshObject or classof node == Editable_Poly collect node
print polyMeshNodes
return polyMeshNodes[1]
)
function Get_ESplineFor modorObj =
(
print "get BaseNode array:"
baseNodeArray = refs.dependents (modOrObj)
print "classes in BaseNode array:"
for node in baseNodeArray do (print (classof node))
print "collect espline:"
eSplineNodes = for node in baseNodeArray where
classof node == Editable_Spline collect node
print eSplineNodes
return eSplineNodes[1]
)
i am currently facing a new problem regarding getting the next edge in the loop/ring from an edge for editpoly and editablepoly(without using setRing/RoopShift etc. and getting the selection) should i make a new thread for this? i did find a few threads related to this but they didnt offer a sollution and where closed(over 12mnt old)