How To – Fix Onshape FeatureScript setParameter
Onshape’s FeatureScript setParameter() method failing to set the intended parameter value. The problem is usually due to the target parameter having already being manually set. Manual settings are applied after all features have been executed and therefor overrides programmatic updates.