Acad.PromptSelectionOptions Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.PromptSelectionOptions();
Group
Returns
PromptSelectionOptions
Description
This class provides optional parameters to a selection set prompt.
Properties
| Name | Type | Description | Condition |
|---|---|---|---|
| allowDuplicates | boolean | Gets or sets whether or not duplicate objects can be added to the selection. | Read-write |
| messageAdding | string | Gets or sets the message to display when the user is adding objects to the selection set. | Read-write |
| messageRemoval | string | Gets or sets the message to display when the user is removing objects from the selection set. | Read-write |
| rejectObjectsFromNonCurrentSpace | boolean | Gets or sets whether or not the user can select objects not in the current space. | Read-write |
| rejectObjectsOnLockedLayers | boolean | Gets or sets whether or not the user can select objnects on a locked layer. | Read-write |
| rejectPaperspaceViewport | boolean | Gets or sets whether or not the user can select a viewport in Paper space. | Read-write |
| selectEverythingInAperture | boolean | Gets or sets whether or not all objects within the cursor's object selection pickbox is selected and added to the select set. | Read-write |
| singleOnly | boolean | Gets or sets whether or not the user can select more than one object. | Read-write |
| singlePickInSpace | boolean | Gets or sets whether or not a coordinate value can be specified for object selection. | Read-write |