group2selset

group2selset(groupname: stringa) → SelectionSet

Restituisce un selection set contenente tutte le entità del gruppo <groupname>.

groupname può essere passato sia nel formato di stringa standard LUA 4 che stringa unicode.

 

Esempio 1. Esempio group2selset

local ss = group2selset("MIOGROUP")
if ss then
  print("\nentità nel gruppo: " .. ss:count())
  ss:free()
end