Autdodesk AutodCAD LISP AutoLISP Programming
AutoLISP in Autodesk AutoCAD
For whom?
The training is designed for advanced AutoCAD users interested in learning about the possibilities of automating tasks using the Autdodesk AutodCAD LISP programming language.
- Number of days: 2
- Duration: 16 h
- Materials: YES
Educational goals
The primary aim of the AutoCAD training is to equip participants with the skills needed for independent work in a CAD environment. The course offers comprehensive knowledge and practical skills essential for the effective use of Autdodesk AutodCAD LISP in daily design tasks. Participants will learn to create 2D drawings, configure the work environment, and utilize blocks, layers, dimensions, annotations, and printing documentation. Additionally, the training includes theoretical and practical knowledge of AutoLISP programming principles, focusing on basic scripts and dialog boxes to enhance their functionality.
Course schedule – Autdodesk AutodCAD LISP:
Assigning variables and calling them from the AutoCAD command line
- Variable declaration
- Checking variable values
- Overriding Variable Values
Writing programs using the AutoCAD command line
- Creating functions using the command line
- Calling functions from the command line
Understanding the Visual LISP development environment
- Menus, Toolbars and Palettes
- Command window
- VisualLisp GUI support
Writing AutoLISP programs using Visual LISP
- Declaring Variables
- function definition
- Calling functions and their use
Creating function definitions and commands
- Creating features
- Converting functions into proprietary AutoCAD commands
Using local and global variables
- Differences in the operation of local and global variables
- Use of local variables in functions – advantages and disadvantages
Good code writing practices, use of comments
- Code Writing Best Practices
- Indentation, code justification
- Correct use of comments and their application
Use of code debugging tools: interruption, variable detector
- Code debugging, basic information
- Variable detector
- Debugging Tools
- Insert break points
Creating your own DCL dialogs
- Rules for creating dialogs
- DCL window saturation in combination with Autdodesk AutodCAD LISP script.