Stores the object identification of the AutoCAD entity that the specified object is associated with.
VBA / VB.NET
object.ObjectId
Type: Link
The object or objects this property applies to.
Type: Long; read-only
The object ID of the entity the specified object is associated with.