JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.PromptEditorOptions Function

Autodesk.AutoCAD.js

JavaScript
function Acad.PromptEditorOptions(messageAndKeywords);
Parameters 
Description 
messageAndKeywords 
is the prompt message along with keywords 

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

Links
Properties
Name 
Type 
Description 
Condition 
allowNone 
Boolean 
Gets or sets whether the prompt accepts Enter as sole input. True if Enter on its own is allowed, false otherwise. 
Read-write 
allowArbitraryInput 
Boolean 
Gets or sets whether the prompts 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 
allowZero 
Boolean 
Gets or sets whether the prompt accepts zero value input.
True if zero valued input is accepted, false otherwise. 
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 
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 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!