Project#

class ansys.optislang.core.project.Project(osl_server: OslServer, uid: str)#

Provides the class containing the root system and queries related to the loaded project.

Methods

__init__(osl_server, uid)

Initialize an instance of the Project class.

evaluate_design(design[, update_design])

Evaluate a design.

get_description()

Get the description of the optiSLang project.

get_location()

Get the path to the optiSLang project file.

get_name()

Get the name of the optiSLang project.

get_reference_design()

Get a design with reference values of the parameters.

get_registered_files()

Get all registered files in the current project.

get_result_files()

Get result files.

get_status()

Get the status of the optiSLang project.

Attributes

Project.criteria_manager

Instance of the CriteriaManager class at the root system.

Project.parameter_manager

Instance of the ParameterManager class at the root system.

Project.response_manager

Instance of the ResponseManager class at the root system.

Project.root_system

Instance of the RootSystem class.

Project.uid

Unique ID of the optiSLang project.