ReferenceArrayProperty ====================== .. py:class:: ReferenceArrayProperty(element_id: ansys.api.modelcenter.v0.element_messages_pb2.ElementId, name: str, engine: ansys.modelcenter.workflow.grpc_modelcenter.engine.Engine) :canonical: ansys.modelcenter.workflow.grpc_modelcenter.reference_property.ReferenceArrayProperty Bases: :py:obj:`ReferencePropertyBase`, :py:obj:`ansys.modelcenter.workflow.api.IReferenceArrayProperty` Represents a reference array property. .. !! processed by numpydoc !! Overview -------- .. py:currentmodule:: ReferenceArrayProperty .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~set_value_at` - Set the state of a particular index. * - :py:attr:`~get_state_at` - Get the state of a reference property at a particular index. Import detail ------------- .. code-block:: python from ansys.modelcenter.workflow.grpc_modelcenter.reference_property import ReferenceArrayProperty Method detail ------------- .. py:method:: set_value_at(index: int, new_state: ansys.tools.variableinterop.VariableState) -> None Set the state of a particular index. :Parameters: **index** : :class:`python:int` Index to set the state at. **new_state: atvi.VariableState** New state of the property. .. !! processed by numpydoc !! .. py:method:: get_state_at(index: int) -> ansys.tools.variableinterop.VariableState Get the state of a reference property at a particular index. :Parameters: **index** : :class:`python:int` Index to get the state at. :Returns: :obj:`atvi.VariableState` State of the property at the given index. .. !! processed by numpydoc !!