getName / getNamew
getName / getNamew
parte:getName / getNamew() → stringa
Ritorna il nome della parte. La versione unicode ritorna il nome della parte come stringa unicode.
Esempio 1. Esempio getName / getNamew
local prt = top_ptop():find("BIELLA")
print("\nNome: " .. prt:getName())
-- versione unicode (ritorna string_w)
local nomeW = prt:getNamew()
print("\nLunghezza: " .. nomeW:length())