Parameter#

class ansys.geometry.core.parameters.parameter.Parameter(id: int, name: str, dimension_type: ParameterType, dimension_value: ansys.geometry.core.typing.Real)#

Represents a parameter.

Parameters:
idint

Unique ID for the parameter.

namestr

Name of the parameter.

dimension_typeParameterType

Type of the parameter.

dimension_valuefloat

Value of the parameter.

Overview#

name

Get the name of the parameter.

dimension_value

Get the value of the parameter.

dimension_type

Get the type of the parameter.

id

Import detail#

from ansys.geometry.core.parameters.parameter import Parameter

Property detail#

property Parameter.name: str#

Get the name of the parameter.

property Parameter.dimension_value: ansys.geometry.core.typing.Real#

Get the value of the parameter.

property Parameter.dimension_type: ParameterType#

Get the type of the parameter.

Attribute detail#

Parameter.id#