// =========================================================================== // 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: 18 April 1997 // // // Description: // camera default options box. The content for each tab // is not created until it is accessed for the first time. // ////////////////////////////////////////////////////////////////////// // // Procedure Name: // setOptionVars // // Description: // Initialize the option values. // // Input Arguments: // Whether to set the options to default values. // // Return Value: // None. // // // Procedure Name: // performCameraAim // // Description: // Perform the camera command using the corresponding // option values. This procedure will also show the option box // window if necessary as well as construct the command string // that will invoke the camera command with the current // option box values. // // Input Arguments: // 0 - Execute the command. // 1 - Show the option box dialog. // 2 - Return the command. // // Return Value: // None. // global proc string performCameraAim(int $action) { optionVar -intValue cameraNodeCount 2; return performCamera( $action ); }