Response#

class ansys.optislang.core.project_parametric.Response(name: str = '', reference_value: Tuple[ResponseValueType, str] | bool | float | complex | list | dict | None = None, reference_value_type: ResponseValueType | None = None)#

Stores response data.

Methods

Response.from_dict(name, reference_value)

Create an instance of the Response class from optiSLang output.

Response.to_dict()

Convert an instance of the Response class to a dictionary.

Attributes

Response.name

Name of the response.

Response.reference_value

Reference value of the response.

Response.reference_value_type

Return type of the response reference value.