Community
$imp = `file -import -type "mayaAscii" -ra true -rpr "cam" -options "v=0" -returnNewNodes -pr -loadReferenceDepth "all" "/192.168.41.11/proyectos/SECRETO MEDALLON/Useless/assets/tools/camara/rig_camara.ma"`;
select $imp;
for( $node in `ls -sl` )
{
rename $node ( `substitute "cam__scn" $node "cam_001"` );
}
Solved! Go to Solution.
Solved by lee.dunham. Go to Solution.
$imp = `file -import -type "mayaAscii" -ra true -rpr "cam" -options "v=0" -returnNewNodes -pr -loadReferenceDepth "all" "/192.168.41.11/proyectos/SECRETO MEDALLON/Useless/assets/tools/camara/rig_camara.ma"`;
select $imp;
searchReplaceNames "cam__scn" "cam_001" "selected";
Can't find what you're looking for? Ask the community or share your knowledge.