getCategoryFromEnt

categories:getCategoryFromEnt(ent: Entità | SelectionSet) --> stringa

Ritorna il nome della categoria associata all'entità

Esempio getCategoryFromEnt()

local ent = ss1:item(i)
local catname = catman:getCategoryFromEnt(ent)
if catname then
  print("Category: " .. catname)
end



Esempio 1. Esempio getCategoryFromEnt

local catman = Categories()
local nome   = catman:getCategoryFromEnt(entlast())
print("\ncategoria: " .. tostring(nome))

Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with a Help Authoring Tool