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

Autodesk.AutoCAD.js

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

This class represents optional parameters for an entity prompt. This function is derived from Acad.PromptEditorOptions.

Links
Properties
Name 
Type 
Description 
Condition 
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 
rejectMessage 
String 
Gets or sets message as the prompt that is posted if the type of a picked entity is not allowed for this selection. 
Read-write 
allowedClasses 
Array 
Gets internal list of classes allowed for the selection. 
Read-write 
allowObjectOnLockedLayer 
Boolean 
Gets or sets whether the prompt allows selection of entities on locked layer. 
Read-write 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!