generate_temp_project_directory#
- Rmxprt.generate_temp_project_directory(name)[source]#
Generate a unique directory string to save a project to.
This method creates a directory for storage of a project in the
temp
directory of the AEDT installation because this location is guaranteed to exist. If thename
parameter is defined, a subdirectory is added within thetemp
directory and a hash suffix is added to ensure that this directory is empty and has a unique name.- Parameters:
- name
str
Base name of the subdirectory to create in the
temp
directory.
- name
- Returns:
str
Base name of the created subdirectory.
Examples
>>> m3d = Maxwell3d() >>> proj_directory = m3d.generate_temp_project_directory("Example")