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

Autodesk.AutoCAD.js

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

This class represents optional parameters for a distance prompt. This function is derived from Acad.PromptEditorOptions.

Links
Properties
Name 
Type 
Description 
Condition 
basePoint 
3D 
Gets or sets whether 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 
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 
only2d 
Boolean 
Gets or sets whether or not the distance returned must be measured as a 2D projection to the UCS. 
Read-write 
useBasePoint 
Boolean 
Gets or sets whether the base point is to be used. 
Read-write 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!