ProjectWorkingDirRelativePath#

class ansys.optislang.core.io.ProjectWorkingDirRelativePath(head: str | Path, tail: str | Path)#

Provides for operating on optislang project working directory relative paths.

Methods

ProjectWorkingDirRelativePath.convert_to_absolute_path()

Convert to AbsolutePath object.

ProjectWorkingDirRelativePath.from_dict(path)

Create an instance of the OptislangPath class from optiSLang output.

ProjectWorkingDirRelativePath.to_dict()

Convert to dictionary.

Attributes

ProjectWorkingDirRelativePath.head

Path to the file head.

ProjectWorkingDirRelativePath.path

Merged head and tail.

ProjectWorkingDirRelativePath.tail

Path to the file tail.

ProjectWorkingDirRelativePath.type

Type of the path.