The AutoCAD JavaScript Application Programming Interface (API) enables you to do in-canvas user interface activities, manipulate current zoom, and implement out-of-canvas user interface dialogs using HTML5.
The AutoCAD JavaScript APIs allows you to do:
In canvas user interface activities, such as prompts and displaying transient graphics.
Change the view of an object, such as zoom, pan, switch visual styles.
Out-of-canvas user interface to be built with the combination of HTML5 and JavaScript such as palettes, dialogs that can show properties of drawing objects and interact with the drawing.
The JavaScript object model, as of now, for AutoCAD core engine covers: