InputsPrnsToField#
- class ansys.dpf.core.operators.result.prns_to_field.InputsPrnsToField(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to prns_to_field operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.prns_to_field() >>> my_filepath = str() >>> op.inputs.filepath.connect(my_filepath) >>> my_columns_to_read = int() >>> op.inputs.columns_to_read.connect(my_columns_to_read)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect filepath input to the operator. |
|
Allows to connect columns_to_read input to the operator. |
Import detail#
from ansys.dpf.core.operators.result.prns_to_field import InputsPrnsToField
Property detail#
- property InputsPrnsToField.filepath: ansys.dpf.core.inputs.Input[str]#
Allows to connect filepath input to the operator.
filepath
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.prns_to_field() >>> op.inputs.filepath.connect(my_filepath) >>> # or >>> op.inputs.filepath(my_filepath)
- property InputsPrnsToField.columns_to_read: ansys.dpf.core.inputs.Input[int]#
Allows to connect columns_to_read input to the operator.
columns_to_read
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.prns_to_field() >>> op.inputs.columns_to_read.connect(my_columns_to_read) >>> # or >>> op.inputs.columns_to_read(my_columns_to_read)
Method detail#
- InputsPrnsToField.__str__()#
- InputsPrnsToField.connect(inpt)#
Connect any input (an entity or an operator output) to any input pin of this operator.
Searches for the input type corresponding to the output.
Deprecated since version Deprecated: in favor of explicit output-to-input connections.
- InputsPrnsToField.__call__(inpt)#