InputsMapdlMaterialProperties#

class ansys.dpf.core.operators.result.mapdl_material_properties.InputsMapdlMaterialProperties(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to mapdl_material_properties operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_material_properties()
>>> my_properties_name = str()
>>> op.inputs.properties_name.connect(my_properties_name)
>>> my_materials = dpf.PropertyField()
>>> op.inputs.materials.connect(my_materials)
>>> 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)

Overview#

connect

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

properties_name

Allows to connect properties_name input to the operator.

materials

Allows to connect materials input to the operator.

streams_container

Allows to connect streams_container input to the operator.

data_sources

Allows to connect data_sources input to the operator.

Import detail#

from ansys.dpf.core.operators.result.mapdl_material_properties import InputsMapdlMaterialProperties

Property detail#

property InputsMapdlMaterialProperties.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_material_properties()
>>> op.inputs.properties_name.connect(my_properties_name)
>>> # or
>>> op.inputs.properties_name(my_properties_name)
property InputsMapdlMaterialProperties.materials: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField]#

Allows to connect materials input to the operator.

Property field that contains a material id per element.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_material_properties()
>>> op.inputs.materials.connect(my_materials)
>>> # or
>>> op.inputs.materials(my_materials)
property InputsMapdlMaterialProperties.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_material_properties()
>>> op.inputs.streams_container.connect(my_streams_container)
>>> # or
>>> op.inputs.streams_container(my_streams_container)
property InputsMapdlMaterialProperties.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_material_properties()
>>> op.inputs.data_sources.connect(my_data_sources)
>>> # or
>>> op.inputs.data_sources(my_data_sources)

Method detail#

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

InputsMapdlMaterialProperties.__call__(inpt)#
InputsMapdlMaterialProperties.__getitem__(item) Input#