InputsTxtFileToDpf#
- class ansys.dpf.core.operators.utility.txt_file_to_dpf.InputsTxtFileToDpf(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to txt_file_to_dpf operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.txt_file_to_dpf() >>> my_input_string = str() >>> op.inputs.input_string.connect(my_input_string)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect input_string input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.txt_file_to_dpf import InputsTxtFileToDpf
Property detail#
- property InputsTxtFileToDpf.input_string: ansys.dpf.core.inputs.Input[str]#
Allows to connect input_string input to the operator.
ex: ‘double:1.0’, ‘int:1’, ‘vector
:1.0;1.0’ - Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.txt_file_to_dpf() >>> op.inputs.input_string.connect(my_input_string) >>> # or >>> op.inputs.input_string(my_input_string)
Method detail#
- InputsTxtFileToDpf.__str__()#
- InputsTxtFileToDpf.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.
- InputsTxtFileToDpf.__call__(inpt)#