//****************************************************************************** // // 版权所有: 玉溪时光科技有限公司 // 联系邮箱: q.100@qq.com // 开发日期: 2024/02/23 // //****************************************************************************** global proc SGDeleteJointForLOD(int $lod){ string $joint_all[] = `SGGetJoints -lod 0 "string"`; string $joint_lod[] = `SGGetJoints -lod $lod "string"`; string $joint_del[] = stringArrayRemove($joint_lod, $joint_all); for($joint in $joint_del){ if(`objExists $joint`){ delete $joint; } } }