Single-Element Functions : List of Functions : stm_r_uc_scen_attr_val

stm_r_uc_scen_attr_val
Retrieves attribute values associated with a particular attribute name for the specified use case scenario.
Function type
LIST OF STRING
For elements
Syntax
stm_r_uc_scen_attr_val (uc, scen_index, attr_name, status)
Arguments
Input/Output
If attr_name does not exist for the specified element, status receives the value stm_attribute_name_not_found.

Note the following:

Attribute values might exist for attributes with no name. Therefore, if you supply contiguous apostrophes (’’) for attr_name, you retrieve all values for unnamed attributes.
In most cases, attributes have only one value. However, there are some cases where more than one attribute value is simultaneously meaningful. For example, a module has an attribute implementation. The attributes software and hardware might both be meaningful for some modules. Therefore, Statemate provides the capability of assigning multiple values to attributes, and the function returns a list of these values. When there is a single value, the list consists of one component.
Status Codes