set_working_directory#

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:
pathstr

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")