InputsMergePropertyFields#
- class ansys.dpf.core.operators.utility.merge_property_fields.InputsMergePropertyFields(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to merge_property_fields operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.merge_property_fields() >>> my_naive_merge = bool() >>> op.inputs.naive_merge.connect(my_naive_merge) >>> my_property_fields1 = dpf.PropertyField() >>> op.inputs.property_fields1.connect(my_property_fields1) >>> my_property_fields2 = dpf.PropertyField() >>> op.inputs.property_fields2.connect(my_property_fields2)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect naive_merge input to the operator. |
|
Allows to connect property_fields1 input to the operator. |
|
Allows to connect property_fields2 input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.merge_property_fields import InputsMergePropertyFields
Property detail#
- property InputsMergePropertyFields.naive_merge: ansys.dpf.core.inputs.Input[bool]#
Allows to connect naive_merge input to the operator.
If true, merge the input property fields assuming that there is no repetition in their scoping ids. Default is false.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.merge_property_fields() >>> op.inputs.naive_merge.connect(my_naive_merge) >>> # or >>> op.inputs.naive_merge(my_naive_merge)
- property InputsMergePropertyFields.property_fields1: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField | ansys.dpf.core.property_fields_container.PropertyFieldsContainer]#
Allows to connect property_fields1 input to the operator.
Either a property fields container, a vector of property fields to merge or property fields 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_property_fields() >>> op.inputs.property_fields1.connect(my_property_fields1) >>> # or >>> op.inputs.property_fields1(my_property_fields1)
- property InputsMergePropertyFields.property_fields2: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField | ansys.dpf.core.property_fields_container.PropertyFieldsContainer]#
Allows to connect property_fields2 input to the operator.
Either a property fields container, a vector of property fields to merge or property fields 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_property_fields() >>> op.inputs.property_fields2.connect(my_property_fields2) >>> # or >>> op.inputs.property_fields2(my_property_fields2)
Method detail#
- InputsMergePropertyFields.__str__()#
- InputsMergePropertyFields.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.
- InputsMergePropertyFields.__call__(inpt)#