Hi to all MEL forum visitors
I am trying to write a script which will automatically annotate locators which are created at the selected curve points.
Now I am stuck at this:
CODE
string $allPoints[] = ls -sl;
int $c = size ($allPoints);
for ($i=0; $i<$c; $i++)
{
float $pos[3] = pointPosition($allPoints[$i]);
string $locator[] = spaceLocator -name "pointLocator" -position $pos[0] $pos[1] $pos[2];
CreateAnnotateNode;
}
it actually creates annotation node as I want, but I want to predefine some annotation attributes such as annotation text, position, etc.
Is there any way to do all that with "annotate" command ?
any help is greatly appreciated 8)