{"id":9419,"date":"2019-08-01T07:00:14","date_gmt":"2019-08-01T14:00:14","guid":{"rendered":"https:\/\/www.autodesk.com/blogs\/autocad\/?p=9419"},"modified":"2022-01-05T14:14:47","modified_gmt":"2022-01-05T22:14:47","slug":"create-load-startup-lisp-routine","status":"publish","type":"post","link":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/","title":{"rendered":"How to Create and Load a Startup LISP Routine"},"content":{"rendered":"\n<p>As I started to use AutoCAD day in and day out (many years ago, wink), I found that sometimes I would run commands or set system or drawing variables many times throughout the day. Let\u2019s take a look at some of these commands\/variables, and then we will discuss how to automate running them any time you open a drawing with a <a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/basic-autocad-customization-loading-custom-programs\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"LISP routine (opens in a new tab)\">LISP routine<\/a>.<\/p>\n\n\n\n<p>The list below explains some of these commands and system variables in detail that are used to write LISP routines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"vtenable-command-transitioning-between-autocad-views\">VTENABLE Command: Transitioning Between AutoCAD views<\/h2>\n\n\n\n<p><a href=\"https:\/\/knowledge.autodesk.com\/support\/autocad\/learn-explore\/caas\/CloudHelp\/cloudhelp\/2016\/ENU\/AutoCAD-Core\/files\/GUID-D0AF2638-DE82-4CB2-A7D8-C771EB5CDD6D-htm.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"VTENABLE (opens in a new tab)\">VTENABLE<\/a> is a system variable that makes AutoCAD transition between views smoothly or abruptly. The variable can be set to a value of 0-7; I recommend you set it to 1.  Setting the variable to 1 will allow you to zoom\/pan and \u201csee\u201d where your zooming from\/to. Although this is a system variable, and should only need to be set once, I have found that sometimes the variable can switch to zero when you exit or crash.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"peditaccept-command-polyline-edits\">PEDITACCEPT Command: Polyline Edits<\/h2>\n\n\n\n<p>When running the <a href=\"https:\/\/knowledge.autodesk.com\/support\/autocad\/learn-explore\/caas\/CloudHelp\/cloudhelp\/2018\/ENU\/AutoCAD-Core\/files\/GUID-0C422AA9-23DD-4650-AD66-68E9D7989E3F-htm.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"PEDIT (opens in a new tab)\">PEDIT<\/a> command (Polyline Edit), and you select a line or an arc, AutoCAD will prompt you to turn the object into a polyline.<\/p>\n\n\n\n<p>In most cases you want to turn the object into a polyline anyway, and the prompt is an &#8220;extra step.&#8221; Setting the system variable PEDITACCEPT to 1 will bypass the prompt and turns the object into a polyline automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-1_oo0s0x.jpg\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"394\" data-lbwps-height=\"187\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-1_oo0s0x-300x142.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"142\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-1_oo0s0x-300x142.jpg\" alt=\"PEDITACCEPT AutoCAD\" class=\"wp-image-9420\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-1_oo0s0x-300x142.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-1_oo0s0x.jpg 394w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"proxygraphics\">PROXYGRAPHICS<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/knowledge.autodesk.com\/support\/autocad\/learn-explore\/caas\/CloudHelp\/cloudhelp\/2016\/ENU\/AutoCAD-Core\/files\/GUID-4205F367-F234-4BE3-86D5-81234684385F-htm.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"PROXYGRAPHICS (opens in a new tab)\">PROXYGRAPHICS<\/a> drawing variable is used to tell the drawing to save images of proxy objects (e.g., Civil 3D objects, Architecture toolset objects, etc.). It is also used with those products for specific functionality. In most cases you want this variable to be set to 1, and since it is a drawing variable, you will need to set this to 1 for every drawing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"msltscale-command-change-linetypes-variables\">MSLTSCALE Command: Change Linetypes Variables<\/h2>\n\n\n\n<p>Standing for both Model Space LTSCALE and Paper Space LTSCALE, these are drawing variables. The <a rel=\"noreferrer noopener\" aria-label=\"MSLTSCALE (opens in a new tab)\" href=\"https:\/\/knowledge.autodesk.com\/support\/autocad\/learn-explore\/caas\/sfdcarticles\/sfdcarticles\/Linetype-Scale-MSLTSCALE-and-PSLTSCALE.html\" target=\"_blank\">MSLTSCALE<\/a> variable controls the linetype display when in model space. When you change the annotation scale, with MSLTSCALE set to 1, your linetypes will scale with the annotation scale. Set to 0, they will show at 1:1. I recommend setting this variable to 1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"filedia-command-file-operations\">FILEDIA Command: File Operations<\/h2>\n\n\n\n<p>The notorious <a href=\"https:\/\/knowledge.autodesk.com\/support\/autocad-lt\/learn-explore\/caas\/CloudHelp\/cloudhelp\/2019\/ENU\/AutoCAD-LT\/files\/GUID-99736BD7-E60E-4F4A-83F7-436B6F9C67A1-htm.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"FILEDIA (opens in a new tab)\">FILEDIA<\/a> variable can cause you to yell at your computer, have chest pains, and make you want to quit for the day. This variable sometimes gets set to 0, causing you to get prompted to actually type in the location for any file operation (e.g., Open, Save As, etc.).<\/p>\n\n\n\n<p>Once you realize that you simply need to set FILEDIA to 1, you want this variable to be set automatically, every time you open AutoCAD\u2026\u2026\u2026.which leads us to the next section, \u201cHow do you setup a startup LISP routine that will run every time you open AutoCAD?\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg.jpg\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"863\" data-lbwps-height=\"106\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg-300x37.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"863\" height=\"106\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg.jpg\" alt=\"FILEDIA AutoCAD\" class=\"wp-image-9421\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg.jpg 863w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg-300x37.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-2_lfwcwg-768x94.jpg 768w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-create-a-startup-lisp-routine\">How to Create a Startup LISP Routine<\/h2>\n\n\n\n<p>Creating a startup LISP routine couldn\u2019t be easier. Simply create a new text file in a location that you will not change. Then, to get these commands to run, you simply use the LISP function \u201ccommand\u201d like so:<\/p>\n\n\n\n<p>(command &#8220;&lt;VARIABLE_NAME&gt;&#8221; &#8220;&lt;SETTING&gt;&#8221;)<\/p>\n\n\n\n<p>Below is how you would type in all the variables outlined in this article:<\/p>\n\n\n\n<p>(command &#8220;VTENABLE&#8221; &#8220;1&#8221;)<br>(command &#8220;PEDITACCEPT&#8221; &#8220;1&#8221;)<br>(command &#8220;PROXYGRAPHICS&#8221; &#8220;1&#8221;)<br>(command &#8220;MSLTSCALE&#8221; &#8220;1&#8221;)<br>(command &#8220;FILEDIA&#8221; &#8220;1&#8221;)<\/p>\n\n\n\n<p>Now, save the file and move onto the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"loading-your-lisp-routine-with-every-drawing\">Loading Your LISP Routine With Every Drawing<\/h2>\n\n\n\n<p>To have your startup LISP file load every time a drawing is open is also very simple. All you have to do is type CUI in the command line. Next, find the LISP Files category in the Customization in All Files section of the CUI dialog box, right-click on it, and choose Load Lisp from the context menu.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-3_wahjji.jpg\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"711\" data-lbwps-height=\"696\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-3_wahjji-300x294.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"696\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-3_wahjji.jpg\" alt=\"LISP Files AutoCAD\" class=\"wp-image-9422\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-3_wahjji.jpg 711w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-3_wahjji-300x294.jpg 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/figure>\n\n\n\n<p>Navigate to the location of where your LISP file is, and it will appear in the list.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-4_qfjiua.jpg\" target=\"_blank\" rel=\"noreferrer noopener\" data-lbwps-width=\"711\" data-lbwps-height=\"696\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-4_qfjiua-300x294.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"696\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-4_qfjiua.jpg\" alt=\"LISP Files AutoCAD\" class=\"wp-image-9423\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-4_qfjiua.jpg 711w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-4_qfjiua-300x294.jpg 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/figure>\n\n\n\n<p>And that\u2019s how you write and load a startup LISP routine. Remember, if you find other variables or commands that you would like to run every time you open a drawing, simply add them to the startup .LSP file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I started to use AutoCAD day in and day out (many years ago, wink), I found that sometimes I would run commands or set system or drawing variables many times throughout the day. Let\u2019s take a look at some of these commands\/variables, and then we will discuss how to automate running them any time [&hellip;]<\/p>\n","protected":false},"author":6732,"featured_media":9425,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[893],"tags":[224,1077,1037,523],"class_list":["post-9419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning","tag-commands","tag-lisp","tag-system-variables","tag-tips","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>How to Create and Load a Startup LISP Routine - AutoCAD Blog<\/title>\n<meta name=\"description\" content=\"Learn more about creating LISP routines and how to automate running AutoCAD commands &amp; variables any time you open a drawing to optimize your daily workflow.\" \/>\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\/create-load-startup-lisp-routine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create and Load a Startup LISP Routine\" \/>\n<meta property=\"og:description\" content=\"Learn more about creating LISP routines and how to automate running AutoCAD commands &amp; variables any time you open a drawing to optimize your daily workflow.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/\" \/>\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-08-01T14:00:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-05T22:14:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/blogs.autodesk.com\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg?fit=1898%2C1026&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1898\" \/>\n\t<meta property=\"og:image:height\" content=\"1026\" \/>\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=\"3 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\\\/create-load-startup-lisp-routine\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/\"},\"author\":{\"name\":\"Seth Cohen\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/person\\\/1dedfeaa2832e4c17a548d6f8e83ff37\"},\"headline\":\"How to Create and Load a Startup LISP Routine\",\"datePublished\":\"2019-08-01T14:00:14+00:00\",\"dateModified\":\"2022-01-05T22:14:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/\"},\"wordCount\":681,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/LISP-routine-694x375_klnxro.jpg\",\"keywords\":[\"Commands\",\"LISP\",\"System Variables\",\"Tips\"],\"articleSection\":[\"Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/\",\"name\":\"How to Create and Load a Startup LISP Routine - AutoCAD Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/LISP-routine-694x375_klnxro.jpg\",\"datePublished\":\"2019-08-01T14:00:14+00:00\",\"dateModified\":\"2022-01-05T22:14:47+00:00\",\"description\":\"Learn more about creating LISP routines and how to automate running AutoCAD commands & variables any time you open a drawing to optimize your daily workflow.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/LISP-routine-694x375_klnxro.jpg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2020\\\/04\\\/LISP-routine-694x375_klnxro.jpg\",\"width\":1898,\"height\":1026,\"caption\":\"LISP routine\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/create-load-startup-lisp-routine\\\/#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\":\"How to Create and Load a Startup LISP Routine\"}]},{\"@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":"How to Create and Load a Startup LISP Routine - AutoCAD Blog","description":"Learn more about creating LISP routines and how to automate running AutoCAD commands & variables any time you open a drawing to optimize your daily workflow.","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\/create-load-startup-lisp-routine\/","og_locale":"en_US","og_type":"article","og_title":"How to Create and Load a Startup LISP Routine","og_description":"Learn more about creating LISP routines and how to automate running AutoCAD commands & variables any time you open a drawing to optimize your daily workflow.","og_url":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/","og_site_name":"AutoCAD Blog","article_publisher":"https:\/\/www.facebook.com\/autocad","article_published_time":"2019-08-01T14:00:14+00:00","article_modified_time":"2022-01-05T22:14:47+00:00","og_image":[{"width":1898,"height":1026,"url":"https:\/\/i0.wp.com\/blogs.autodesk.com\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg?fit=1898%2C1026&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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/"},"author":{"name":"Seth Cohen","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/person\/1dedfeaa2832e4c17a548d6f8e83ff37"},"headline":"How to Create and Load a Startup LISP Routine","datePublished":"2019-08-01T14:00:14+00:00","dateModified":"2022-01-05T22:14:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/"},"wordCount":681,"commentCount":0,"publisher":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg","keywords":["Commands","LISP","System Variables","Tips"],"articleSection":["Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/","url":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/","name":"How to Create and Load a Startup LISP Routine - AutoCAD Blog","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg","datePublished":"2019-08-01T14:00:14+00:00","dateModified":"2022-01-05T22:14:47+00:00","description":"Learn more about creating LISP routines and how to automate running AutoCAD commands & variables any time you open a drawing to optimize your daily workflow.","breadcrumb":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#primaryimage","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2020\/04\/LISP-routine-694x375_klnxro.jpg","width":1898,"height":1026,"caption":"LISP routine"},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/create-load-startup-lisp-routine\/#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":"How to Create and Load a Startup LISP Routine"}]},{"@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\/9419","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=9419"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/9419\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media\/9425"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media?parent=9419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/categories?post=9419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/tags?post=9419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}