Note: The function works only for real elements. Generated IDs, such as for flow-lines are not legal. You can pass as an argument an ID of the basic arrow which constructs the flow-line.
Input/Outputstm_id ac_id;
int status;
ac_id = stm_r_ac ("A1", &status);
stm_select_id(id, &status);