Project#

class ansys.optislang.core.project.Project#

Base class for classes which operate with active project.

Methods

Project.evaluate_design(design)

Evaluate a design.

Project.get_description()

Get the description of the optiSLang project.

Project.get_location()

Get the path to the optiSLang project file.

Project.get_name()

Get the name of the optiSLang project.

Project.get_reference_design()

Get a design with reference values of the parameters.

Project.get_registered_files()

Get all registered files in the current project.

Project.get_result_files()

Get result files.

Project.get_status()

Get the status of the optiSLang project.

Project.get_working_dir()

Get the path to the optiSLang project's working directory.

Project.reset()

Reset the project.

Project.run_python_file(file_path[, args])

Read a Python script from a file, load it in a project context, and run it.

Project.run_python_script(script[, args])

Load a Python script in a project context and run it.

Project.start([wait_for_started, ...])

Start project execution.

Project.stop([wait_for_finished])

Stop project execution.

Attributes

Project.root_system

Instance of the RootSystem class.

Project.uid

Unique ID of the optiSLang project.