Acad.PromptCornerOptions Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.PromptCornerOptions(messageAndKeywords, basePoint);
Group
Parameters
Parameter | Description |
---|---|
messageAndKeywords | is the prompt message along with keywords. |
basePoint | is the input basePoint. |
Returns
PromptCornerOptions
Description
This class represents optional parameters for a corner prompt. 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 |
basePoint | Acad.Point3d | Gets or sets the base point to be used. | Read-write |
limitsChecked | boolean | Gets or sets whether or not limits checks are carried out on the input value. | Read-write |
useBasePoint | boolean | Gets or sets whether or not the base point is to be used or not. True if the BasePoint value is to be used, 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 |
Exception
Throws a TypeError
object.