Share

Acad.PromptAngleOptions Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.PromptAngleOptions(messageAndKeywords);

Group

ACAD Namespace

Parameters

Parameter Description
messageAndKeywords is the prompt message along with keywords

Description

This class represents optional parameters for an angle 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
allowZero boolean Gets or sets whether the prompt accepts zero value input. True if zero valued input is accepted, false otherwise. Read-write
basePoint Acad.Point3d Gets or sets whether or not the base point is to be used. Read-write
defaultValue number The default value to be used when you press enter without any other input. Read-write
useAngleBase boolean Gets or sets whether the base angle value is used. Read-write
useBasePoint boolean Gets or sets whether or not the base point is to be used or not. 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
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

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?