set_state#

RealList.set_state(state=None, **kwargs)#

Set the state of the object.

Parameters:
state

The type of state can be float, str (representing either an expression or a value with units), or an ansys.units.Quantity.

kwargsAny

Keyword arguments.

Raises:
UnhandledQuantity

If the quantity object cannot be handled for the given path. This can happen if the quantity attribute specifies an unsupported quantity, or if the units specified for the quantity are not supported.