InputsMergeMeshesContainers#

class ansys.dpf.core.operators.utility.merge_meshes_containers.InputsMergeMeshesContainers(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to merge_meshes_containers operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_meshes_containers()
>>> my_meshes_containers1 = dpf.MeshesContainer()
>>> op.inputs.meshes_containers1.connect(my_meshes_containers1)
>>> my_meshes_containers2 = dpf.MeshesContainer()
>>> op.inputs.meshes_containers2.connect(my_meshes_containers2)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

meshes_containers1

Allows to connect meshes_containers1 input to the operator.

meshes_containers2

Allows to connect meshes_containers2 input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.merge_meshes_containers import InputsMergeMeshesContainers

Property detail#

property InputsMergeMeshesContainers.meshes_containers1: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshes_container.MeshesContainer]#

Allows to connect meshes_containers1 input to the operator.

a vector of meshes containers to merge or meshes containers from pin 0 to …

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_meshes_containers()
>>> op.inputs.meshes_containers1.connect(my_meshes_containers1)
>>> # or
>>> op.inputs.meshes_containers1(my_meshes_containers1)
property InputsMergeMeshesContainers.meshes_containers2: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshes_container.MeshesContainer]#

Allows to connect meshes_containers2 input to the operator.

a vector of meshes containers to merge or meshes containers from pin 0 to …

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_meshes_containers()
>>> op.inputs.meshes_containers2.connect(my_meshes_containers2)
>>> # or
>>> op.inputs.meshes_containers2(my_meshes_containers2)

Method detail#

InputsMergeMeshesContainers.__str__()#
InputsMergeMeshesContainers.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.

InputsMergeMeshesContainers.__call__(inpt)#
InputsMergeMeshesContainers.__getitem__(item) → Input#