    

 ## On this page

  

 

 # set\_working\_directory

 Last update: 29.04.2026 

<a id="ansys.meshing.prime.Model.set_working_directory"></a>

#### Model.set\_working\_directory(path)

Set working directory.

Set the working directory to be considered for file i/o when the file paths are relative.

**Parameters:**

**path**

Path to the directory.

### Notes

**This is a beta API**. **The behavior and implementation may change in future**.

### Examples

```pycon
>>> client = prime.launch_prime()
>>> model = client.model
>>> zones = model.set_working_directory("C:/input_files")

```