ScriptSpot

Forum topic · General Scripting

Need Vertex Position (WorldCoordinates)

By mambrus · 2009-03-31

Description

hi, I'm looking for a command to get the world-position of verteces within an editable poly

I know the command .GetVertex vertexID
but the return value is not world system (right?)

thank you for help
regards
markus

Comments (1)

mambrus · 2009-03-31

got the solution

01. get vertex count of editpoly
02. select vertex 1 to vertex count
03. mypos = poly.selectedVerts.pos || for each selected vert

= worldcoordinates

have fun
markus