> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RefineSplineParams

### *class* ansys.meshing.prime.RefineSplineParams(model=None, refine\_flag\_u=None, refine\_flag\_v=None, refine\_flag\_w=None, spline\_refinement\_type=None, json\_data=None, \*\*kwargs)

Spline refinement parameters.

* **Parameters:**

  **model: Model**
  : Model to create a `RefineSplineParams` object with default parameters.

  **refine\_flag\_u: bool, optional**
  : Indicates whether refinement is applied in u direction.

  **refine\_flag\_v: bool, optional**
  : Indicates whether refinement is applied in v direction.

  **refine\_flag\_w: bool, optional**
  : Indicates whether refinement is applied in w direction.

  **spline\_refinement\_type: SplineRefinementType, optional**
  : Type of spline refinement. Currently, supports h-refinement and p-refinement.

  **json\_data: dict, optional**
  : JSON dictionary to create a `RefineSplineParams` object with provided parameters.

### Examples

```python theme={null}
>>> refine_spline_params = prime.RefineSplineParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`RefineSplineParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.print_default)() | Print the default values of `RefineSplineParams` object. |
| [`RefineSplineParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.set_default)(\[...]) | Set the default values of the `RefineSplineParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`RefineSplineParams.refine_flag_u`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.refine_flag_u) | Indicates whether refinement is applied in u direction. |
| [`RefineSplineParams.refine_flag_v`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.refine_flag_v) | Indicates whether refinement is applied in v direction. |
| [`RefineSplineParams.refine_flag_w`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.refine_flag_w) | Indicates whether refinement is applied in w direction. |
| [`RefineSplineParams.spline_refinement_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.RefineSplineParams.spline_refinement_type) | Type of spline refinement. |
