{"id":9514,"date":"2019-09-12T07:00:12","date_gmt":"2019-09-12T14:00:12","guid":{"rendered":"https:\/\/www.autodesk.com/blogs\/autocad\/?p=9514"},"modified":"2020-04-07T15:26:29","modified_gmt":"2020-04-07T22:26:29","slug":"action-macros-in-autocad","status":"publish","type":"post","link":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/","title":{"rendered":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD"},"content":{"rendered":"\n<p>Action macros are a series of actions (commands) that you record and can be played back in an active drawing. You use the <a href=\"https:\/\/knowledge.autodesk.com\/support\/autocad\/learn-explore\/caas\/CloudHelp\/cloudhelp\/2018\/ENU\/3PP-ACD18-MAST-WILEY\/files\/GUID-026D01DF-5DDE-494D-80E0-546C718C1C94-htm.html?st=action%20recorder\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Action Recorder (opens in a new tab)\">Action Recorder<\/a> to save the commands as an action macro (.ACTM file). Using <a rel=\"noreferrer noopener\" aria-label=\"action macros (opens in a new tab)\" href=\"https:\/\/knowledge.autodesk.com\/search-result\/caas\/CloudHelp\/cloudhelp\/2019\/ENU\/AutoCAD-Customization\/files\/GUID-6F3A7AB7-C85B-4331-BBC4-D9A75E5D1C99-htm.html\" target=\"_blank\">action macros<\/a> can really increase productivity by automating repetitive tasks. <\/p>\n\n\n\n<p>As you perform commands in a drawing, you record your steps as action macros. Then you can play the <a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/au-video-autocad-macros\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"macros (opens in a new tab)\">macros<\/a> as needed to repeat the performed steps with minimal input. Using an action macro is just like typing in an AutoCAD command that you define and entering the name in the command line. Due to this functionality, it is crucial that you do not create an action macro with the same name as a default AutoCAD command.<\/p>\n\n\n\n<p>Let&#8217;s take a look at the Action Recorder, how to create action macros, and some examples.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"action-recorder\">Action Recorder<\/h2>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>So, where do you find the action recorder tools and settings? Navigate to the <strong>Ribbon: Manage tab &gt; Action Recorder <\/strong>panel.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-1_zuatfk.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"655\" data-lbwps-height=\"128\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-1_zuatfk-300x59.png\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"128\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-1_zuatfk.png\" alt=\"Action Recorder AutoCAD\" class=\"wp-image-9515\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-1_zuatfk.png 655w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-1_zuatfk-300x59.png 300w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>You will notice that there is a big button to start the recording, and other tools that allow you to manage and play your action macros. As you create action macros, they will appear in the action macro drop-down.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-2_jhbgph.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"460\" data-lbwps-height=\"292\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-2_jhbgph-300x190.png\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"292\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-2_jhbgph.png\" alt=\"action macro drop-down AutoCAD\" class=\"wp-image-9516\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-2_jhbgph.png 460w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-2_jhbgph-300x190.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>As I always tell users, there is no \u201cmagic\u201d when it comes to AutoCAD, there\u2019s always a setting or file that it reads or locates AutoCAD resources. .ACTM files are stored in the following location and are accessed in the Options dialog box.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"777\" data-lbwps-height=\"576\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo-300x222.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"222\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo-300x222.png\" alt=\"ACTM files AutoCAD\" class=\"wp-image-9517\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo-300x222.png 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo-768x569.png 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-3_kxsnpo.png 777w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>You will notice that there is an additional Action Recorder location that you can define for multiple locations. This allows you to place your .ACTM files on the server to share with all the users in your company. (Very cool!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-create-an-action-macro\">How to Create an Action Macro<\/h2>\n\n\n\n<p>Hmm, I wonder which button you hit first to start recording an action macro&#8230; Yep, it&#8217;s the BIG Record button in the Action Recorder panel.<\/p>\n\n\n\n<p>While AutoCAD is recording, you can launch commands, enter values, and even select objects. The Action Recorder records standard commands from the command line as well as from the ribbon, the Properties palette, the Layer Properties Manager, and the tool palettes. That said, most dialog boxes are not recorded in the Action Recorder unless you use the command line equivalent of the dialog box setting; that would be entering a dash &#8220;-&#8221; before a command (e.g., -INSERT).<\/p>\n\n\n\n<p>Once you start the Record process, try to do ONLY the commands that you need to do for the macro, including zooming. Remember, AutoCAD is recording EVERYTHING while you are \u201crecording.&#8221;<\/p>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>When you start recording, you will notice that AutoCAD puts a record badge at your cursor, visually telling you that you are recording a macro. Also, the panel will expand to show you everything that you do in AutoCAD.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"523\" height=\"435\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-4_fslrhm.png\" alt=\"\" class=\"wp-image-9518\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-4_fslrhm.png 523w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-4_fslrhm-300x250.png 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>When you have completed the steps, click the Stop button to finish the recording. You will be prompted to give the macro a name. Remember, do not use a default AutoCAD command, as this will override that command. As a tip, I will either give the macro a prefix with my initials or the company.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-5_w9gtmt.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"391\" data-lbwps-height=\"506\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-5_w9gtmt-232x300.png\"><img loading=\"lazy\" decoding=\"async\" width=\"391\" height=\"506\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-5_w9gtmt.png\" alt=\"Action Macro command name AutoCAD\" class=\"wp-image-9519\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-5_w9gtmt.png 391w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-5_w9gtmt-232x300.png 232w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Now, once the macro is saved, you will want to navigate to the commands in the Action Recorder panel. There you can edit certain locations in the macro to provide either a Pause for user input, to remove any accidental commands, or to insert a user message.&nbsp;To access those options, you simply right-click on any of the commands and choose from the context menu.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-6_z4kdeq.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"440\" data-lbwps-height=\"494\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-6_z4kdeq-267x300.png\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"494\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-6_z4kdeq.png\" alt=\"Action Recorder panel AutoCAD\" class=\"wp-image-9520\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-6_z4kdeq.png 440w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-6_z4kdeq-267x300.png 267w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>And that\u2019s it! All you have to do is type the command in the command line and you now have your own custom command.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"771\" data-lbwps-height=\"435\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm-300x169.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm-300x169.png\" alt=\"custom command AutoCAD\" class=\"wp-image-9521\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm-300x169.png 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm-768x433.png 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-7_b5pfxm.png 771w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"action-macro-examples\">Action Macro Examples<\/h2>\n\n\n\n<p>So, what are some examples of action macros? Actually, it\u2019s really infinite as the action macro can be very elaborate or simple. That said, here are some examples of action macros that I use throughout the day.<\/p>\n\n\n\n<p><strong>Rotate the View to A User-Defined Rotation<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>This macro allows the user to rotate the view to a rotation defined by the user, and then sets the UCS back to World.&nbsp;Very useful in the civil realm.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-8_a4gba9.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"423\" data-lbwps-height=\"392\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-8_a4gba9-300x278.png\"><img loading=\"lazy\" decoding=\"async\" width=\"423\" height=\"392\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-8_a4gba9.png\" alt=\"rotate view action macro AutoCAD\" class=\"wp-image-9522\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-8_a4gba9.png 423w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-8_a4gba9-300x278.png 300w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><strong>My ATTSYNC Command<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>When re-defining attributes in a block, you have to run the ATTSYNC command, press \u201cS,&#8221; select your block, and then press \u201cY\u201d for yes. This macro, simplifies this process to two clicks.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-9_iqhelf.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"525\" data-lbwps-height=\"339\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-9_iqhelf-300x194.png\"><img loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"339\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-9_iqhelf.png\" alt=\"ATTSYNC command AutoCAD\" class=\"wp-image-9523\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-9_iqhelf.png 525w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-9_iqhelf-300x194.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><strong>My PURGE<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Purging can be straightforward, but this macro automates it completely. It also adds the purging of REGAPPS, which is not in the default PURGE command.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-10_nvjdlv.png\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"419\" data-lbwps-height=\"342\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-10_nvjdlv-300x245.png\"><img loading=\"lazy\" decoding=\"async\" width=\"419\" height=\"342\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-10_nvjdlv.png\" alt=\"action macro PURGE command AutoCAD\" class=\"wp-image-9524\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-10_nvjdlv.png 419w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-10_nvjdlv-300x245.png 300w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>And the list can go on and on. Now, go create your own macros! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Action macros are a series of actions (commands) that you record and can be played back in an active drawing. You use the Action Recorder to save the commands as an action macro (.ACTM file). Using action macros can really increase productivity by automating repetitive tasks. As you perform commands in a drawing, you record [&hellip;]<\/p>\n","protected":false},"author":6732,"featured_media":9526,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[893],"tags":[1087,1088,224],"class_list":["post-9514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning","tag-action-macros","tag-action-recorder","tag-commands","dhig-theme--light"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Ready, Set, Action! Learn How to Create Action Macros in AutoCAD | AutoCAD Blog | Autodesk<\/title>\n<meta name=\"description\" content=\"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD\" \/>\n<meta property=\"og:description\" content=\"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/\" \/>\n<meta property=\"og:site_name\" content=\"AutoCAD Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/autocad\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-12T14:00:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-07T22:26:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/blogs.autodesk.com\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg?fit=2560%2C1384&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1384\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Seth Cohen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@autocad\" \/>\n<meta name=\"twitter:site\" content=\"@autocad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seth Cohen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/\"},\"author\":{\"name\":\"Seth Cohen\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/person\\\/1dedfeaa2832e4c17a548d6f8e83ff37\"},\"headline\":\"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD\",\"datePublished\":\"2019-09-12T14:00:12+00:00\",\"dateModified\":\"2020-04-07T22:26:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/\"},\"wordCount\":778,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg\",\"keywords\":[\"Action Macros\",\"Action Recorder\",\"Commands\"],\"articleSection\":[\"Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/\",\"name\":\"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD | AutoCAD Blog | Autodesk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg\",\"datePublished\":\"2019-09-12T14:00:12+00:00\",\"dateModified\":\"2020-04-07T22:26:29+00:00\",\"description\":\"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg\",\"width\":2560,\"height\":1384,\"caption\":\"action macros in AutoCAD\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/action-macros-in-autocad\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning\",\"item\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/learning\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#website\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/\",\"name\":\"AutoCAD Blog\",\"description\":\"Your home for all things AutoCAD\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\",\"name\":\"Autodesk, Inc.\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2022\\\/06\\\/16\\\/autodesk-autocad-small_social-400.png\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2022\\\/06\\\/16\\\/autodesk-autocad-small_social-400.png\",\"width\":400,\"height\":400,\"caption\":\"Autodesk, Inc.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/autocad\",\"https:\\\/\\\/x.com\\\/autocad\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/person\\\/1dedfeaa2832e4c17a548d6f8e83ff37\",\"name\":\"Seth Cohen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2019\\\/11\\\/Seth-cohen-150x150.jpg\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2019\\\/11\\\/Seth-cohen-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2019\\\/11\\\/Seth-cohen-150x150.jpg\",\"caption\":\"Seth Cohen\"},\"description\":\"Seth Cohen is a civil engineer and technician.\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/author\\\/scohen\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD | AutoCAD Blog | Autodesk","description":"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/","og_locale":"en_US","og_type":"article","og_title":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD","og_description":"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.","og_url":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/","og_site_name":"AutoCAD Blog","article_publisher":"https:\/\/www.facebook.com\/autocad","article_published_time":"2019-09-12T14:00:12+00:00","article_modified_time":"2020-04-07T22:26:29+00:00","og_image":[{"width":2560,"height":1384,"url":"https:\/\/i0.wp.com\/blogs.autodesk.com\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg?fit=2560%2C1384&ssl=1","type":"image\/jpeg"}],"author":"Seth Cohen","twitter_card":"summary_large_image","twitter_creator":"@autocad","twitter_site":"@autocad","twitter_misc":{"Written by":"Seth Cohen","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/"},"author":{"name":"Seth Cohen","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/person\/1dedfeaa2832e4c17a548d6f8e83ff37"},"headline":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD","datePublished":"2019-09-12T14:00:12+00:00","dateModified":"2020-04-07T22:26:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/"},"wordCount":778,"commentCount":0,"publisher":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg","keywords":["Action Macros","Action Recorder","Commands"],"articleSection":["Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/","url":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/","name":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD | AutoCAD Blog | Autodesk","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg","datePublished":"2019-09-12T14:00:12+00:00","dateModified":"2020-04-07T22:26:29+00:00","description":"Action macros can help you repeat steps with minimal effort. Learn how to create action macros and use the Action Recorder.","breadcrumb":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#primaryimage","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/Action-Macros-in-AutoCAD-694x375_xfwrjk-scaled.jpg","width":2560,"height":1384,"caption":"action macros in AutoCAD"},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/action-macros-in-autocad\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.autodesk.com/blogs\/autocad\/"},{"@type":"ListItem","position":2,"name":"Learning","item":"https:\/\/www.autodesk.com/blogs\/autocad\/learning\/"},{"@type":"ListItem","position":3,"name":"Ready, Set, Action! Learn How to Create Action Macros in AutoCAD"}]},{"@type":"WebSite","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#website","url":"https:\/\/www.autodesk.com/blogs\/autocad\/","name":"AutoCAD Blog","description":"Your home for all things AutoCAD","publisher":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.autodesk.com/blogs\/autocad\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization","name":"Autodesk, Inc.","url":"https:\/\/www.autodesk.com/blogs\/autocad\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/logo\/image\/","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2022\/06\/16\/autodesk-autocad-small_social-400.png","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2022\/06\/16\/autodesk-autocad-small_social-400.png","width":400,"height":400,"caption":"Autodesk, Inc."},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/autocad","https:\/\/x.com\/autocad"]},{"@type":"Person","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/person\/1dedfeaa2832e4c17a548d6f8e83ff37","name":"Seth Cohen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2019\/11\/Seth-cohen-150x150.jpg","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2019\/11\/Seth-cohen-150x150.jpg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2019\/11\/Seth-cohen-150x150.jpg","caption":"Seth Cohen"},"description":"Seth Cohen is a civil engineer and technician.","url":"https:\/\/www.autodesk.com/blogs\/autocad\/author\/scohen\/"}]}},"_links":{"self":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/9514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/users\/6732"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/comments?post=9514"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/9514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media\/9526"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media?parent=9514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/categories?post=9514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/tags?post=9514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}