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

# SurfaceMeshSizeScaling

### *class* ansys.meshing.prime.SurfaceMeshSizeScaling(model=None, factor=None, size\_range\_min=None, size\_range\_max=None, json\_data=None, \*\*kwargs)

Settings related to scaling of surface mesh size for hexcore refinement.

* **Parameters:**

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

  **factor: float, optional**
  : Value by which size should be multiplied when the size falls within a certain range. Applicable only when size field type is set to Geometric in AutoMeshParams structure.

  **size\_range\_min: float, optional**
  : Minimum size required to apply scaling. Applicable only when size field type is set to Geometric in AutoMeshParams structure.

  **size\_range\_max: float, optional**
  : Maximum size required to apply scaling. Applicable only when size field type is set to Geometric in AutoMeshParams structure.

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

### Examples

```python theme={null}
>>> surface_mesh_size_scaling = prime.SurfaceMeshSizeScaling(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SurfaceMeshSizeScaling.factor`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp02/api/_autosummary/ansys.meshing.prime.SurfaceMeshSizeScaling.factor) | Value by which size should be multiplied when the size falls within a certain range. |
| [`SurfaceMeshSizeScaling.size_range_max`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp02/api/_autosummary/ansys.meshing.prime.SurfaceMeshSizeScaling.size_range_max) | Maximum size required to apply scaling. |
| [`SurfaceMeshSizeScaling.size_range_min`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp02/api/_autosummary/ansys.meshing.prime.SurfaceMeshSizeScaling.size_range_min) | Minimum size required to apply scaling. |
