BatchOffsetCrvs

From scripting
Jump to: navigation, search
string $objs[] = `ls-sl`;
for ($x=0;$x<size($objs);$x++) {
	print ("Completed..."+$x+" of "+size($objs)+"\n");
	offsetCurve  -ch on -rn false -cb 2 -st true -cl true -cr 0 -d 20 -tol 0.001 -sd 5 -ugn false  $objs[$x] ;
	editDisplayLayerMembers "layer1" `ls -selection`;
}


More information on vectors and vector mathematics, read pages 14-16, 20-21 in YSYT.