// =========================================================================== // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== // // // // // // // Creation Date: 3 Aug 1998 // // Procedure Name: // mSkinCluster // // Description: // Executes the skinCluster command with the selected arguments // for multiple geometries. // // Example: // Select a few of the already skinCluster-bound geometries and // execute: // // mSkinCluster "-e -mi 6" // // OR // // mSkinCluster "-e -ai transform1" // // global proc string[] mSkinCluster(string $args) { // Get the currenly selected objects // string $result[]; string $sel[] = `ls -sl`; if (!size($sel)) { error( (uiRes("m_mSkinCluster.kSelectGeometries"))); return $result; } int $i; string $cmd; string $item; string $res; int $execCount = 0; for($i=0;$i