Share

Acad.Editor.getInteger Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Editor.getInteger(options);

Group

ACAD Namespace

Parameters

Parameter Description
options is of type Acad.PromptIntegerOptions.

Returns

A Acad.PromptIntegerResult 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 function to get the integer from a user.

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?