Notifications
Clear all
[Closed] some little help with basci maxscript?
Feb 02, 2008 5:09 pm
Hello there guys,
Í have no really idea about maxscript, and i haven´t managed to make something very simple:
the idea is to select a bunch of vertices in a mesh ( wether in editable poly, edit poly or mesh poly select…) run the script and it will create a point helper per vertex selected, and in the position of each vertex…any ideas on how to do that?
thanks gurus of maxscript!
2 Replies
Feb 02, 2008 5:09 pm
Hey metamesh, whasup?
There it goes:
vertArray = getVertSelection $
for verts in vertArray do
(
p = point()
p.pos = polyOp.getVert $ verts
)
if you want it to work with a mesh you just have to remove “polyOp.” from the last line and it will work. I hope it helps.
see ya
Feb 02, 2008 5:09 pm
dude, u are a genius it works like a charm, thnx so much!
btw, i just tried twice with an edit poly instead of editable poly and it crashed max twice…any ideas why?
thx anyway!