AutoLISP is a great tool for automating many CAD tasks, but for a non-programmer, (like me :)) Action Recorder can be used to automate repetitive tasks of AutoCAD without using LISP at all.
Using Action recorder Some of the repetitive tasks in AutoCAD can be recorded as action macro and it can be recalled whenever needed, let me show you this with an example.
Suppose you need a particular type of array in many drawings and you don’t want to create array manually in each of those drawings then you can record your actions in one of the drawing and simply play that action for all drawings.
To start recording actions click on record button on action recorder panel, this button will be replaced with stop button and your cursor will now follow a stop icon. Let’s create a circle now with any radius and create a rectangular array with three rows and five columns.
Once you are done with array click on stop button on action recorder panel, an action macro window will pop up enter name and description of this action and click OK to save it. This macro is saved with .actm extension in this path C:\Users\<user name>\AppData\Roaming\Autodesk\AutoCAD 2015\R20.0\enu\Support\Actions.
Now close your drawing and open a new session of AutoCAD, go to manage tab and action recorder panel you will find a drop down menu with your action listed there. Select that action and click play button just above that menu. You will find that an array with similar configuration will be drawn in no time.
If you want action recorder to prompt you for entering values like coordinates of the center of circle and radius of the circle then you can make the change in action macro. For changing it select the action from the drop down menu and expand the panel you will find an action tree locate the radius value and right click select pause for user input from the contextual menu.
Now your action macro will prompt you to enter the radius of the circle every time you play it, a similar procedure can be followed for a number of rows and columns as well.
Do you have questions related to this tip? Let us know in the comments below.