// =========================================================================== // 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: April 28, 1997 // // Description: // Global function to make sure the options for rebuildCurve are set. // // Input Arguments: // Force the factory setting or not. // // Return Value: // None. // global proc stitchSurfacePointsSetOptionVars( int $forceFactorySettings ) // // Description : // { // Keep Original option var. This corresponds to the // "-rpo/-replaceOriginal" flag for the command. // if ($forceFactorySettings || !`optionVar -exists stitchSurfacePointsKeepOriginal`) { optionVar -intValue stitchSurfacePointsKeepOriginal 0; } if ($forceFactorySettings || !`optionVar -exists stitchSurfacePointsEqualWts`) { optionVar -intValue stitchSurfacePointsEqualWts 1; } if ($forceFactorySettings || !`optionVar -exists stitchSurfacePointsCascade`) { optionVar -intValue stitchSurfacePointsCascade 0; } }