entObjectId
entObjectId
entity:entObjectId()
Ritorna l'objectId dell'entità (nel formato OLD). Serve principalmente per poter passare le entità tra C++ e .NET.
Esempio 1. Esempio entObjectId
entmake{ {0, "CIRCLE"}, {10, Point(0, 0, 0)}, {40, 2} }
local e = entlast()
local oid = e:entObjectId()
print("\nentObjectId tipo = " .. type(oid))
local hand = e:entHand()
print("\nentHand = " .. (hand or "nil"))
e:erase()