// =========================================================================== // 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: 14 July 1996 // // // // // // listTransforms (string $flags) // // // This procedure returns an array of all the parents of the // objects returned by the use of the 'ls' command. // // // string $flags - String containing flags and arguments to the 'ls' command. // // // string[] - Array of the parent nodes. // // // // Select the transforms for all cameras: // select -r `listTransforms -cameras`; // // // global proc string[] listTransforms (string $flags) { return listRelatives("-p", "-path", eval("ls", $flags)); }