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

# FileWriteParams

### *class* ansys.meshing.prime.FileWriteParams(model=None, json\_data=None, \*\*kwargs)

Parameters to write a file.

* **Parameters:**

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

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

### Examples

```python theme={null}
>>> file_write_params = prime.FileWriteParams(model = model)
```

### Methods

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