GET_SELECTED_MODELGROUPS

GET_SELECTED_MODELGROUPS returns the IDs of the model groups currently selected in the explorer.

Syntax

CC "Explorer" GET_SELECTED_MODELGROUPS
#--> RESULT ecode:intValue
            mgroups:strValue

Parameters

none

Returns

ecodeintValue, if everything succeeded, ecode is 0.  Otherwise 1 is returned.
mgroupsstrValue, a blank seperated ID list.  Possible selected models are not considered.

Remarks

See Also

GET_SELECTED_MODELS

Example 1

CC "Explorer" GET_SELECTED_MODELGROUPS
SET s:""
FOR i from:0 to:(tokcnt(mgroups, " ") - 1)
{
  CC "Core" GET_MODELGROUP_NAME mgroupid:(VAL token (mgroups, i, " "))
  SET s:(s + cond (i, "\n", "") + mgroupname
}
CC "AdoScript" INFOBOX (s)
GET_SELECTED_MODELS returns the IDs of the models currently selected in the explorer.