getLayerW
getLayerW
entity:getLayerW() --> stringa
Ritorna il nome del layer cui appartiene l'entità in formato di stringa unicode.
Esempio 1. Esempio getLayerW
entmake{ {0, "CIRCLE"}, {10, Point(0, 0, 0)}, {40, 2} }
local e = entlast()
local lw = e:getLayerW()
print(" getLayerW tipo = " .. type(lw) .. " length = " .. tostring(lw:length()))
e:erase()
Created with the Personal Edition of HelpNDoc: Free help authoring tool