Acad.DBEntity Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.DBEntity(id);
Group
Parameters
| Parameter | Description |
|---|---|
| id | represents the object identifier. |
Description
The object represents a database resident entity.
It is similar to AcDbEntity, and valid only when you are working on a drawing with AutoCAD and is invalid when exiting from AutoCAD or switching to another drawing.
Properties
| Name | Type | Description | Condition |
|---|---|---|---|
| id | string | Returns the object identifier. Throws an Error object if you try to set the property. |
Read-only |
Exception
Throws a TypeError object.