Hi,
Does anyone how to use pointPosition inside loop to get all the vertex coordinates in an array?
For example, get the coordinates of all vertex in a sphere as placement of new geometry:
CODE
polySphere -n "grid";
select -r grid.vtx["*"];
string $verPos[] = filterExpand -ex true -sm 31
;
//now i try to print the pointPosition, but a warning appears:
// Warning: Only one item can be selected. Using the first selection.
for ($i in $verPos)
{
pointPosition -l;
}
Thanks!!!
Borja