Skip to content

GET_SELECTED_MODELGROUPS ​

Returns the IDs of the model groups currently selected in the explorer.

Syntax ​

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

Parameters ​

none

Returns ​

  • ecode (intValue) - if everything succeeded, ecode is 0. Otherwise 1 is returned.
  • mgroups (strValue) - a blank seperated ID list. Possible selected models are not considered.

Details ​

See Also ​

GET_SELECTED_MODELS

Examples ​

asc
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)

Versions and Changes ​

Available since ADOxx 1.3