Application#

class ansys.optislang.core.application.Application#

Base class for classes which operate with projects.

Methods

Application.discard_long_running_operation(...)

Discard a previously registered long running operation.

Application.get_long_running_operation_status(...)

Get the status (and, once finished, the result) of a long running operation.

Application.new()

Create and open a new project.

Application.open(file_path[, force, ...])

Open a project.

Application.save()

Save changes to the project data and settings.

Application.save_as(file_path[, force, ...])

Save and open the project at a new location.

Application.save_copy(file_path)

Save a copy of the project to a specified location..

Application.wait_for_long_running_operation(...)

Wait for a long running operation to finish, then return its status.

Attributes

Application.project

Instance of the Project class.

Application.version

Version of used optiSLang.

Application.version_string

Version of used optiSLang.