OutputsSetAttribute#

class ansys.dpf.core.operators.utility.set_attribute.OutputsSetAttribute(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from set_attribute operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.set_attribute()
>>> # Connect inputs : op.inputs. ...
>>> result_fields_container = op.outputs.fields_container()

Overview#

fields_container

Allows to get fields_container output of the operator

Import detail#

from ansys.dpf.core.operators.utility.set_attribute import OutputsSetAttribute

Property detail#

property OutputsSetAttribute.fields_container: ansys.dpf.core.outputs.Output[ansys.dpf.core.fields_container.FieldsContainer]#

Allows to get fields_container output of the operator

Returns the modified FieldsContainer.

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.set_attribute()
>>> # Get the output from op.outputs. ...
>>> result_fields_container = op.outputs.fields_container()

Method detail#

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