Acad.PromptKeywordOptions Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.PromptKeywordOptions(messageAndKeywords);
Group
Parameters
| Parameter | Description |
|---|---|
| messageAndKeywords | is the prompt message along with keywords |
Returns
PromptKeywordOptions
Description
This class represents optional parameters for a prompt for a keyword. This function is derived from Acad.PromptEditorOptions.
Properties
| Name | Type | Description | Condition |
|---|---|---|---|
| allowArbitraryInput | boolean | Gets or sets whether or not the prompt accepts arbitrary input. | 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 |
Exception
Throws a TypeError object.