Acad.PromptResults Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.PromptResults(retCode, stringResult);
Group
Parameters
Parameter | Description |
---|---|
retCode | The status result of the prompt operation. |
stringResult | The optional string result of the prompt operation. This value is set when Status is PromptStatus . Keyword or a prompt that returns a string as its primary result. |
Returns
PromptResults
Description
This is the base class for classes that hold the result of a prompt operation. This function is derived from Acad.Promise.
Properties
Name | Type | Description | Condition |
---|---|---|---|
status | Acad.PromptStatus | Gets or sets whether the prompt accepts enter as the sole input. | Read-only |
stringResult | string | Gets the optional string result of the prompt operation. This value is set when status is PromptStatus.Keyword or a prompt that returns a string as its primary result. |
Read-only |