Acad.OSet.indexOf Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.OSet.indexOf(id);
Group
Parameters
Parameter | Description |
---|---|
id | Input object ID. |
Returns
Returns the index of the object ID if present; otherwise, -1 is returned.
Description
Use this method to return the index of the object ID in the collection.