Share

Acad.PromptEditorOptions Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.PromptEditorOptions(messageAndKeywords);

Group

ACAD Namespace

Parameters

Parameter Description
messageAndKeywords is the prompt message along with keywords

Returns

PromptEditorOptions

Description

This is the base class for command prompt options used in various types of data acquisition.

Properties

Name Type Description Condition
allowArbitraryInput boolean Gets or sets whether or not the prompt accepts arbitrary input. Read-write
allowNegative boolean Gets or sets whether the prompt accepts negative value input. True if negative value input is accepted, false otherwise. Read-write
allowNone boolean Gets or sets whether or not the prompt accepts Enter as sole input. True if Enter on its own is allowed, false otherwise. Read-write
allowZero boolean Gets or sets whether the prompt accepts zero value input. True if zero valued input is accepted, false otherwise. Read-write
limitsChecked boolean Gets or sets whether limits checks are carried out on the input value. Read-write
only2d boolean Gets or sets whether or not the distance returned must be measured as a 2D projection to the UCS. Read-write
useDashedLine boolean Gets or sets whether or not a dashed "rubber band" line is to be drawn between the base point and the cursor's current location while prompting. Read-write

ACAD Namespace

Was this information helpful?