entObjectIdW

entity:entObjectIdW()

Ritorna l'objectId dell'entità come stringa unicode (nel formato OLD).

Serve principalmente per poter passare le entità tra C++ e .NET.

Esempio 1. Esempio entObjectIdW

entmake{ {0, "CIRCLE"}, {10, Point(0, 0, 0)}, {40, 2} }
local e = entlast()
local w = e:entObjectIdW()
print(" entObjectIdW tipo = " .. type(w) .. " length = " .. tostring(w:length()))
e:erase()