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

Autodesk.AutoCAD.js

JavaScript
function Acad.Editor.getSelection(options);
Parameters 
Description 
options 
is of type PromptSelectionOptions. 

PromptSelectionResult.

Use this to return the selection set obtained. This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!