Export Individual Files from Selection

From scripting
Jump to: navigation, search
//Author Nick Pisca 0001d 2007
string $CCC[] =  `ls-sl`;
int $h = 0;
do {
	select -r $CCC[$x] ;
	string $path2 = ("C:/SICA/IGESs/FBH_" + $CCC[$h]);
	pv_performAction $path2 "IGESExport";
	file -op "" -typ "IGESExport" -es $path2;
	$h++; }
while ($h < size($CCC));


More information of selection and strings, read pages 28-37, 56-58 in YSYT.