chuachinghong
10-19-2008, 09:39 AM
Hi, I am very new to MEL script.
I have a simple NURBS plane and I use this command to query the world CV positions:
getAttr surfaceInfo.controlPoints["*"];
The results I got is
X1 Y1 Z1 X2 Y2 Z2 X3 Y3 Z3 ...
I need to print it out in this format:
X1 Y1 Z1
X2 Y2 Z2
X3 Y3 Z3
May I know how should I approach this?
Hope you guys can help me. Thanks!
I have a simple NURBS plane and I use this command to query the world CV positions:
getAttr surfaceInfo.controlPoints["*"];
The results I got is
X1 Y1 Z1 X2 Y2 Z2 X3 Y3 Z3 ...
I need to print it out in this format:
X1 Y1 Z1
X2 Y2 Z2
X3 Y3 Z3
May I know how should I approach this?
Hope you guys can help me. Thanks!
