InputsAcmoMeshProvider#
- class ansys.dpf.core.operators.mesh.acmo_mesh_provider.InputsAcmoMeshProvider(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to acmo_mesh_provider operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.acmo_mesh_provider() >>> my_assembly_mesh = dpf.AnsDispatchHolder() >>> op.inputs.assembly_mesh.connect(my_assembly_mesh) >>> my_unit = str() >>> op.inputs.unit.connect(my_unit)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect assembly_mesh input to the operator. |
|
Allows to connect unit input to the operator. |
Import detail#
from ansys.dpf.core.operators.mesh.acmo_mesh_provider import InputsAcmoMeshProvider
Property detail#
- property InputsAcmoMeshProvider.assembly_mesh: ansys.dpf.core.inputs.Input#
Allows to connect assembly_mesh input to the operator.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.acmo_mesh_provider() >>> op.inputs.assembly_mesh.connect(my_assembly_mesh) >>> # or >>> op.inputs.assembly_mesh(my_assembly_mesh)
- property InputsAcmoMeshProvider.unit: ansys.dpf.core.inputs.Input[str]#
Allows to connect unit input to the operator.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.acmo_mesh_provider() >>> op.inputs.unit.connect(my_unit) >>> # or >>> op.inputs.unit(my_unit)
Method detail#
- InputsAcmoMeshProvider.__str__()#
- InputsAcmoMeshProvider.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.
- InputsAcmoMeshProvider.__call__(inpt)#