Share

Acad.OSet.getId Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.OSet.getId(index);

Group

ACAD Namespace

Parameters

Parameter Description
index Input index; integer greater than or equal to 0 and less than the number of items in the collection.

Use getCount to get the number of items in the collection.

Returns

Returns the object ID at the given index.

Description

Use this method to return the object ID given the index of the item in the collection.

ACAD Namespace

Was this information helpful?