Share

Acad.Application.activedocument.getHandle Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Application.activedocument.getHandle(oset);

Group

ACAD Namespace

Parameters

Parameter Description
oset Input OSet that contains the object IDs.

Returns

Array of handles in the success callback function.

This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function.

Description

Use this method to get an array of handles from the OSet.

Exception

Throws a TypeError or Error object based on the problem encountered.

ACAD Namespace

Was this information helpful?