Acad.Editor.getCorner Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Editor.getCorner(options);
Group
Parameters
| Parameter | Description |
|---|---|
| options | is of type Acad.PromptCornerOptions. |
Returns
A Acad.PromptPointResult in the success callback function.
This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function.
Description
Use this function to get user input for the corner of a rectangle.
Exception
Throws a TypeError object.