InputsServerPath#
- class ansys.dpf.core.operators.utility.server_path.InputsServerPath(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to server_path operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.server_path() >>> my_subpath = int() >>> op.inputs.subpath.connect(my_subpath)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect subpath input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.server_path import InputsServerPath
Property detail#
- property InputsServerPath.subpath: ansys.dpf.core.inputs.Input[int]#
Allows to connect subpath input to the operator.
Subpath of the Dpf server. Supported values: 0 (default): root of the server, 1: “dpf/bin/platform”, 2: “aisol/bin(dll)/platform”, 3: “dpf/plugins”, 4: “dpf/workflows”.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.server_path() >>> op.inputs.subpath.connect(my_subpath) >>> # or >>> op.inputs.subpath(my_subpath)
Method detail#
- InputsServerPath.__str__()#
- InputsServerPath.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.
- InputsServerPath.__call__(inpt)#