stm_r_xx_graphic
● The information is retrieved into a structured data type (record), which varies according to the type of element referenced.
● Each environment module can have several occurrences with the same name in a chart. Call the query functionstm_r_om_of_md
to get the graphical information of its occurrences, then use the functionstm_r_om_graphic
for each occurrence.
combinational
assignment
Input/Output Note: Whenstm_unresolved
is returned, no record is received.To retrieve graphical information attached to a specific state whose ID isst_id
, use the first statement regarding the specific state (st_id
), then extract the particular fields from the record.stm_id st_id;
int status;
stm_st_graphic_ptr st_record;
stm_color color;
.
.
st_record = stm_r_st_graphic (st_id, &status);
.
color = st_record->st_color;
.
.Refer to Sample Program for a more detailed example of how the fields of the graphical record are used.