InputsPointsFromCoordinates#
- class ansys.dpf.core.operators.mesh.points_from_coordinates.InputsPointsFromCoordinates(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to points_from_coordinates operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.points_from_coordinates() >>> my_nodes_to_keep = dpf.Scoping() >>> op.inputs.nodes_to_keep.connect(my_nodes_to_keep) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect nodes_to_keep input to the operator. |
|
Allows to connect mesh input to the operator. |
Import detail#
from ansys.dpf.core.operators.mesh.points_from_coordinates import InputsPointsFromCoordinates
Property detail#
- property InputsPointsFromCoordinates.nodes_to_keep: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping | ansys.dpf.core.scopings_container.ScopingsContainer]#
Allows to connect nodes_to_keep 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.points_from_coordinates() >>> op.inputs.nodes_to_keep.connect(my_nodes_to_keep) >>> # or >>> op.inputs.nodes_to_keep(my_nodes_to_keep)
- property InputsPointsFromCoordinates.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion | ansys.dpf.core.meshes_container.MeshesContainer]#
Allows to connect 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.points_from_coordinates() >>> op.inputs.mesh.connect(my_mesh) >>> # or >>> op.inputs.mesh(my_mesh)
Method detail#
- InputsPointsFromCoordinates.__str__()#
- InputsPointsFromCoordinates.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.
- InputsPointsFromCoordinates.__call__(inpt)#