groupnew
groupnew
groupnew(strNome: stringa, strDescr: stringa, ent1/selset) --> booleano
Funzione che crea un nuovo gruppo. ATTENZIONE (v29): in AutoCAD 2026 questa funzione può causare un Access Violation; la creazione di gruppi via Lua non è al momento utilizzabile in produzione.
In ingresso vuole nome, description, entità/selection-set.
Le stringhe in ingresso possono essere sia standard LUA 4 che unicode.
Ritorna 1 se l'operazione è andata a buon fine, altrimenti nil.
Esempio 1. Esempio groupnew
-- ATTENZIONE: causa Access Violation in AutoCAD 2026 — non usare in produzione
-- local grp = groupnew("MIOGROUP", "Gruppo di test")
Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites