Share

Acad.PromptIntegerOptions Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.PromptIntegerOptions(messageAndKeywords, lowerLimit, upperLimit);

Group

ACAD Namespace

Parameters

Parameter Description
messageAndKeywords is the prompt message along with keywords.
lowerLimit is lower limit of input.
upperLimit is upper limit of input.

Returns

PromptIntegerOptions

Description

This class represents optional parameters for a prompt for an integer. This function is derived from Acad.PromptNumericalOptions.

Properties

Name Type Description Condition
defaultValue number The default value to be used when you press Enter without any other input. Read-write
lowerLimit number Returns the lower limit integer value. Read-write
upperLimit number Returns the upper limit integer value. Read-write

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?