> ## 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.

# HardSizingParams

### *class* ansys.meshing.prime.HardSizingParams(model=None, min=None, growth\_rate=None, json\_data=None, \*\*kwargs)

Size field computed using hard size control enables you to maintain a uniform size based on the size specified.

The hard sizing will override any other specified size.

* **Parameters:**

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

  **min: float, optional**
  : Minimum size used for computing edge and face size using hard size control.

  **growth\_rate: float, optional**
  : Growth rate used for transitioning from one element size to neighbor element size.

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

### Examples

```python theme={null}
>>> hard_sizing_params = prime.HardSizingParams(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`HardSizingParams.growth_rate`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.HardSizingParams.growth_rate) | Growth rate used for transitioning from one element size to neighbor element size. |
| [`HardSizingParams.min`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.HardSizingParams.min) | Minimum size used for computing edge and face size using hard size control. |
