position vertex

Hello. I have an object that I put a modifier Edit poly. How do I know the position of the verts with maxscript? I'm trying using:

$.modifiers[#Edit_Poly].selectedVerts[1].pos

but it doesnt work. Help please

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mjbg's picture

you can

you can use
$.modifiers[#Edit_Poly].getvertex (($.modifiers[#Edit_Poly].getselection #vertex)as array)[1]

but im sure there must be a better way to do this

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.