WorkingDirRelativePath#

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

Provides for operating on optislang working directory relative paths.

Methods

WorkingDirRelativePath.convert_to_absolute_path()

Convert to AbsolutePath object.

WorkingDirRelativePath.from_dict(path)

Create an instance of the OptislangPath class from optiSLang output.

WorkingDirRelativePath.to_dict()

Convert to dictionary.

Attributes

WorkingDirRelativePath.head

Path to the file head.

WorkingDirRelativePath.path

Merged head and tail.

WorkingDirRelativePath.tail

Path to the file tail.

WorkingDirRelativePath.type

Type of the path.