Wednesday, August 29, 2018

select curves in hierarchy






//select the curves in hierarchy
{
select -hi `ls -sl -dag -type "nurbsCurve"`;
string $sel[] = `ls -sl`;
select -clear;
for ($e in $sel)
    select -add `listRelatives -p $e`;
}