OutputsDefaultValue#

class ansys.dpf.core.operators.utility.default_value.OutputsDefaultValue(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from default_value operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.default_value()
>>> # Connect inputs : op.inputs. ...
>>> result_output = op.outputs.output()

Overview#

output

Allows to get output output of the operator

Import detail#

from ansys.dpf.core.operators.utility.default_value import OutputsDefaultValue

Property detail#

property OutputsDefaultValue.output: ansys.dpf.core.outputs.Output#

Allows to get output output of the operator

Returns primary_value if provided, otherwise default_value

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.default_value()
>>> # Get the output from op.outputs. ...
>>> result_output = op.outputs.output()

Method detail#

OutputsDefaultValue.__getitem__(index) → Output#
OutputsDefaultValue.__str__()#