// =========================================================================== // 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: Dec. 18, 1996 // // Description: // Global function to make sure the options for untrim are set. // // Input Arguments: // Force the factory setting or not. // // Return Value: // None. // global proc untrimSetOptionVars( int $forceFactorySettings ) { // -ch/-constructionHistory boolean if ($forceFactorySettings || !`optionVar -exists untrimHistory`) { optionVar -intValue untrimHistory 1; } // -rpo/-replaceOriginal boolean if ($forceFactorySettings || !`optionVar -exists untrimOriginal`) { optionVar -intValue untrimOriginal 0; } // -nc/-noChanges boolean if ($forceFactorySettings || !`optionVar -exists untrimChanges`) { optionVar -intValue untrimChanges 1; } }