Acad.Editor.cancelCommand Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Editor.cancelCommand();
Group
Returns
Acad.ErrorStatus enum 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 method to cancel the last command.
Exception
Throws an Error
object.