// =========================================================================== // 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: June 5, 1997 // // Procedure Name: // AEupdateMessage // // Description Name; // Updates the textFieldGrp to reflect a new selection // // Input Value: // The control name and the plug name // // Output Value: // none // global proc AEupdateMessage( string $controlName, string $plugName ) { string $connections[] = `listConnections $plugName`; textFieldGrp -e -tx $connections[0] $controlName; if ($connections[0] != "") { textFieldButtonGrp -e -bl " > " -bc ("showEditor "+$connections[0]) $controlName; } else { textFieldButtonGrp -e -bl (uiRes("m_AEupdateMessage.kMap")) -bc "" $controlName; } }