There are some useful LISP programs out there that place object references into fields for doing calculations like area and perimeter, but they all depend on obtaining the ObjectId of an entity. The function that is always used, (vla-get-objectID entity), is visual lisp / activeX, so it only works on Windows platforms. Is there a way to get the ObjectId with mac autolisp? Alternatively, is there another way to put an object reference inside a field?
Using AutoCAD for Mac, 2017 version.
Thanks,
Sebastian