// =========================================================================== // 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: August 14, 1996 // // Description: // Global function to make sure the options for textCurves are set. // // Input Arguments: // Force the factory setting or not. // // Return Value: // None. // global proc textCurvesSetOptionVars( int $forceFactorySettings ) { // -ch/-constructionHistory boolean if ($forceFactorySettings || !`optionVar -exists textCurvesHistory`) { optionVar -intValue textCurvesHistory 1; } // type if ($forceFactorySettings || !`optionVar -exists textCurvesType`) { optionVar -intValue textCurvesType 0; } // -f/-font string if ($forceFactorySettings || !`optionVar -exists textCurvesFont`) { if (`about -linux`) { optionVar -stringValue textCurvesFont "Utopia|wt:50|sz:28"; } else { optionVar -stringValue textCurvesFont "Times New Roman|wt:50|sz:28"; } } // -t/-text string if ($forceFactorySettings || !`optionVar -exists textCurvesText`) { optionVar -stringValue textCurvesText "Maya"; } }