// =========================================================================== // 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. // =========================================================================== // Description: // This procedure will create a UI to control the boolean value // This will create the check box group and the AEreplaceBool will // set the right values and bind it to the right attribute // // Input Arguments: // The name of the plug for the attribute // The name of the attribute // The changed command to use // // Return Value: // The name of the newly-created control. // global proc AEnewBool( string $plugName, string $attrName, string $changedCommand) { string $childCtrl = `checkBoxGrp -ncb 1 -l1 $attrName`; AEreplaceBool($childCtrl, $plugName, $changedCommand); }