AbsolutePath#

class ansys.optislang.core.io.AbsolutePath(path: str | Path)#

Provides for operating on optislang absolute paths.

Methods

AbsolutePath.convert_to_absolute_path()

Convert to AbsolutePath object.

AbsolutePath.convert_to_project_dir_relative(...)

Convert to ProjectDirectoryRelativePath object.

AbsolutePath.convert_to_project_working_dir_relative(tail)

Convert to ProjectWorkingDirRelativePath object.

AbsolutePath.convert_to_reference_files_dir_relative(...)

Convert to ReferenceFilesDirRelativePath object.

AbsolutePath.convert_to_working_dir_relative(tail)

Convert to WorkingDirRelativePath object.

AbsolutePath.from_dict(path)

Create an instance of the OptislangPath class from optiSLang output.

AbsolutePath.to_dict()

Convert to dictionary.

Attributes

AbsolutePath.path

Path to the referenced file.

AbsolutePath.type

Type of the path.