InputsMapdlSection#
- class ansys.dpf.core.operators.result.mapdl_section.InputsMapdlSection(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to mapdl_section operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.mapdl_section() >>> my_properties_name = str() >>> op.inputs.properties_name.connect(my_properties_name) >>> my_section = dpf.PropertyField() >>> op.inputs.section.connect(my_section) >>> my_streams_container = dpf.StreamsContainer() >>> op.inputs.streams_container.connect(my_streams_container) >>> my_data_sources = dpf.DataSources() >>> op.inputs.data_sources.connect(my_data_sources) >>> my_layer_property = bool() >>> op.inputs.layer_property.connect(my_layer_property) >>> my_layers_requested = dpf.() >>> op.inputs.layers_requested.connect(my_layers_requested)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect properties_name input to the operator. |
|
Allows to connect section input to the operator. |
|
Allows to connect streams_container input to the operator. |
|
Allows to connect data_sources input to the operator. |
|
Allows to connect layer_property input to the operator. |
|
Allows to connect layers_requested input to the operator. |
Import detail#
from ansys.dpf.core.operators.result.mapdl_section import InputsMapdlSection
Property detail#
- property InputsMapdlSection.properties_name: ansys.dpf.core.inputs.Input[str]#
Allows to connect properties_name 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.result.mapdl_section() >>> op.inputs.properties_name.connect(my_properties_name) >>> # or >>> op.inputs.properties_name(my_properties_name)
- property InputsMapdlSection.section: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField]#
Allows to connect section input to the operator.
Property field that contains a section id per element.(optional)
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.mapdl_section() >>> op.inputs.section.connect(my_section) >>> # or >>> op.inputs.section(my_section)
- property InputsMapdlSection.streams_container: ansys.dpf.core.inputs.Input[ansys.dpf.core.streams_container.StreamsContainer]#
Allows to connect streams_container 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.result.mapdl_section() >>> op.inputs.streams_container.connect(my_streams_container) >>> # or >>> op.inputs.streams_container(my_streams_container)
- property InputsMapdlSection.data_sources: ansys.dpf.core.inputs.Input[ansys.dpf.core.data_sources.DataSources]#
Allows to connect data_sources 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.result.mapdl_section() >>> op.inputs.data_sources.connect(my_data_sources) >>> # or >>> op.inputs.data_sources(my_data_sources)
- property InputsMapdlSection.layer_property: ansys.dpf.core.inputs.Input[bool]#
Allows to connect layer_property input to the operator.
Property requested is layered. Default = False.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.mapdl_section() >>> op.inputs.layer_property.connect(my_layer_property) >>> # or >>> op.inputs.layer_property(my_layer_property)
- property InputsMapdlSection.layers_requested: ansys.dpf.core.inputs.Input#
Allows to connect layers_requested input to the operator.
Array with layers requested for the section. Default = AllLayers.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.mapdl_section() >>> op.inputs.layers_requested.connect(my_layers_requested) >>> # or >>> op.inputs.layers_requested(my_layers_requested)
Method detail#
- InputsMapdlSection.__str__()#
- InputsMapdlSection.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.
- InputsMapdlSection.__call__(inpt)#