ProjectRelativePath#
- class ansys.optislang.core.io.ProjectRelativePath(tail: str | Path, file_path: str | Path | None = None, project_dir_path: str | Path | None = None)#
Provides for operating on optislang project relative paths.
Methods
Convert to AbsolutePath object.
Create an instance of the
OptislangPathclass from optiSLang output.Create an
ProjectRelativePathinstance.Convert to dictionary.
Attributes
Path to the file.
Path to the project directory.
Path to the file tail.
Type of the path.