OutputsPythonGenerator#

class ansys.dpf.core.operators.utility.python_generator.OutputsPythonGenerator(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from python_generator operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.python_generator()
>>> # Connect inputs : op.inputs. ...

Overview#

Import detail#

from ansys.dpf.core.operators.utility.python_generator import OutputsPythonGenerator

Method detail#

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