InputsMergeScopings#

class ansys.dpf.core.operators.utility.merge_scopings.InputsMergeScopings(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to merge_scopings operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_scopings()
>>> my_scopings1 = dpf.Scoping()
>>> op.inputs.scopings1.connect(my_scopings1)
>>> my_scopings2 = dpf.Scoping()
>>> op.inputs.scopings2.connect(my_scopings2)

Overview#

connect

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

scopings1

Allows to connect scopings1 input to the operator.

scopings2

Allows to connect scopings2 input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.merge_scopings import InputsMergeScopings

Property detail#

property InputsMergeScopings.scopings1: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping | ansys.dpf.core.scopings_container.ScopingsContainer]#

Allows to connect scopings1 input to the operator.

Either a scopings container, a vector of scopings to merge, or scopings 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_scopings()
>>> op.inputs.scopings1.connect(my_scopings1)
>>> # or
>>> op.inputs.scopings1(my_scopings1)
property InputsMergeScopings.scopings2: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping | ansys.dpf.core.scopings_container.ScopingsContainer]#

Allows to connect scopings2 input to the operator.

Either a scopings container, a vector of scopings to merge, or scopings 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_scopings()
>>> op.inputs.scopings2.connect(my_scopings2)
>>> # or
>>> op.inputs.scopings2(my_scopings2)

Method detail#

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

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