Skip to main content

Prime Mesh Python client library 2026 R1

set_working_directory

Last update: 02.04.2026

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

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

Connect with Ansys