Helper functions and classes#

These methods are specific to the ansys.optislang.core.utils module:

get_osl_exec([osl_version])

Get the path to the optiSLang executable file.

find_all_osl_exec()

Find all optiSLang executable files.

These classes and enumerations are specific to the ansys.optislang.core.io module:

File(path)

Provides for operating on files.

RegisteredFile(path, id, comment, tag, usage)

Provides for operating on registered files.

FileOutputFormat(*values)

Provides options for storing files.

RegisteredFileUsage(*values)

Provides options for registered files usage.

OptislangPathType(*values)

Provides optislang path types.

AbsolutePath(path)

Provides for operating on optislang absolute paths.

WorkingDirRelativePath(head, tail)

Provides for operating on optislang working directory relative paths.

ProjectRelativePath(tail[, file_path, ...])

Provides for operating on optislang project relative paths.

ProjectWorkingDirRelativePath(head, tail)

Provides for operating on optislang project working directory relative paths.

ReferenceFilesDirRelativePath(tail[, ...])

Provides for operating on optislang reference files directory relative paths.

RegisteredFilePath(name, uuid[, path])

Provides for operating on optislang registered files paths.