// =========================================================================== // 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: 7 Mar 1996 // // Description: // This method opens the attribute editor window, and // creates an editor for the first selected object. // // Input Arguments: // None. // // Return Value: // None // global proc editSelected ( ) { // get the list of selected nodes from the model, // and bring up the attribute editor for the last one. // string $nodes[]; $nodes = `selectedNodes`; int $count = size($nodes); if ( $count > 0 ) { showEditor $nodes[$count-1]; } else { showEditor ""; } }