    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

<a id="ansys.meshing.prime.BoundaryFittedSplineParams.set_default"></a>

#### *static* BoundaryFittedSplineParams.set\_default(degree\_u=None, degree\_v=None, degree\_w=None, refinement\_fraction\_u=None, refinement\_fraction\_v=None, refinement\_fraction\_w=None, control\_points\_count\_u=None, control\_points\_count\_v=None, control\_points\_count\_w=None, n\_refine=None, control\_point\_selection\_type=None)

Set the default values of the `BoundaryFittedSplineParams` object.

- **Parameters:**
    
    **degree\_u: int, optional**: Degree of spline in u direction.
    
    **degree\_v: int, optional**: Degree of spline in v direction.
    
    **degree\_w: int, optional**: Degree of spline in w direction.
    
    **refinement\_fraction\_u: float, optional**: Fraction of input mesh size that sets the control points size in u direction. This is used in program controlled control points selection mode.
    
    **refinement\_fraction\_v: float, optional**: Fraction of input mesh size that sets the control points size in v direction. This is used in program controlled control points selection mode.
    
    **refinement\_fraction\_w: float, optional**: Fraction of input mesh size that sets the control points size in w direction. This is used in program controlled control points selection mode.
    
    **control\_points\_count\_u: int, optional**: Spline control points count in U direction. Used in manual control points selection mode.
    
    **control\_points\_count\_v: int, optional**: Spline control points count in V direction. Used in manual control points selection mode.
    
    **control\_points\_count\_w: int, optional**: Spline control points count in W direction. Used in manual control points selection mode.
    
    **n\_refine: int, optional**: Spline refinement level for rendering.
    
    **control\_point\_selection\_type: ControlPointSelection, optional**: Spline control points selection type.