The AutoCAD JavaScript tutorials explain how you can leverage JavaScript and HTML5 to perform basic tasks in AutoCAD.
The tutorial assumes that you have the following software installed on your system before you begin:
The AutoCAD JavaScript tutorial demonstrates how you can implement a simple palette in AutoCAD using JavaScript and HTML5 for capturing an image preview.
The AutoCAD JavaScript tutorial demonstrates how you can set a value for any system variable in AutoCAD using JavaScript.
The AutoCAD JavaScript tutorial demonstrates how you can implement a simple palette-based user interface using JavaScript and HTML5 to perform tasks like drawing a transient rectangle or circle in AutoCAD.
The AutoCAD JavaScript API tutorial demonstrates how you can implement a command in AutoCAD to zoom to the extents of a selected entity.
The AutoCAD JavaScript tutorial demonstrates how you can use the JavaScript function and execute the AutoCAD RECTANG command to create a rectangular polyline.
The AutoCAD JavaScript tutorial demonstrates how you can create a custom command using the addCommand JavaScript API.