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

Autodesk.AutoCAD.js

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

This is the base class for types that represent optional parameters for numerical prompts. This function is derived from Acad.PromptEditorOptions.

Links
Properties
Name 
Type 
Description 
Condition 
useDefaultValue 
Boolean 
Gets or sets whether the prompt should use the default value when you press Enter without any other input.
The property that allows client code to set the default value is declared by derived classes. 
Read-write 
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 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!