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

# LocalMeshing – Creating a local meshing

The following script sample shows you an example on how to create a Local Meshing.

```python theme={null}
localMeshing = SpeosSim.LocalMeshing.Create()
localMeshing.Geometries.SelectAll()
localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.Proportional
localMeshing.MeshingSagValue = 500000

localMeshing.MeshingStepMode = SpeosSim.LocalMeshing.EnumMeshingStepMode.Fixed
localMeshing.MeshingStepLengthValue = 1
```
