{"id":15128,"date":"2025-02-11T10:02:00","date_gmt":"2025-02-11T18:02:00","guid":{"rendered":"https:\/\/www.autodesk.com/blogs\/autocad\/?p=15128"},"modified":"2025-02-11T19:03:20","modified_gmt":"2025-02-12T03:03:20","slug":"how-to-add-custom-autolisp-commands-into-the-autocad-ribbon","status":"publish","type":"post","link":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/","title":{"rendered":"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon"},"content":{"rendered":"\n<p><em><strong>Contributed by <a href=\"https:\/\/www.autodesk.com\/community\" target=\"_blank\" rel=\"noreferrer noopener\">Autodesk Community<\/a> member\u00a0<a href=\"https:\/\/forums.autodesk.com\/t5\/user\/viewprofilepage\/user-id\/15719070\" target=\"_blank\" rel=\"noreferrer noopener\">Arshdeep Singh<\/a><\/strong><\/em><\/p>\n\n\n\n<p>In my previous blog post,&nbsp;<a href=\"https:\/\/www.autodesk.com\/blogs\/autocad\/a-guide-to-autocad-ribbon-customization\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>A Guide to AutoCAD Ribbon Customization<\/em><\/a>, I explained how the built-in commands from AutoCAD can be added to the ribbon to streamline workflows and enhance productivity. This blog is a continuation, where I expand on how to take customization a step further by integrating your own custom AutoLISP commands into the ribbon. This allows you to create a truly personalized and efficient workspace tailored to your unique design needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-autolisp\">What is AutoLISP?<\/h2>\n\n\n\n<p>Before we get started, it\u2019s a good idea to understand AutoLISP. AutoLISP is a very powerful language that has been around for a long time and was designed to allow users to write custom commands that extend the capabilities of AutoCAD. AutoLISP programs are saved as .lsp files. While there are a handful of different methods to load the program into AutoCAD, I particularly like the CUI method where I can also add it to the ribbon after adding.<\/p>\n\n\n\n<p>AutoLISP programs can be loaded into AutoCAD to run as commands. By combining AutoLISP with CUI, you can integrate these commands into the ribbon, making them easily accessible for daily use.<\/p>\n\n\n\n<p>If you are a programming enthusiast, you will love this article by Autodesk where the origins of LISP and AutoLISP are explained:&nbsp;<a href=\"https:\/\/help.autodesk.com\/view\/OARX\/2022\/ENU\/?guid=GUID-49AAEA0E-C422-48C4-87F0-52FCA491BF2C\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>AutoLISP and Visual LISP (AutoLISP)<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-writing-a-basic-autolisp-program\">Writing a Basic AutoLISP Program<\/h2>\n\n\n\n<p>We will write a very basic hello world program in which we will add the AutoCAD\u2019s ribbon as a command. Any basic text editor like Notepad can be used to write this program but&nbsp;<strong>Visual Studio Code<\/strong>&nbsp;with&nbsp;<strong>AutoLISP<\/strong>&nbsp;extension is the recommended way.<\/p>\n\n\n\n<p>This program displays a message box with the text &#8220;Hello World&#8221; when the user runs the&nbsp;<strong>HELLOWORLD<\/strong>&nbsp;command. You can copy the code below into a text file and save it with the .lsp extension:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP.jpg\" data-lbwps-width=\"1407\" data-lbwps-height=\"207\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP-300x44.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"151\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP-1024x151.jpg\" alt=\"\" class=\"wp-image-15133\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP-1024x151.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP-300x44.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP-768x113.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Hello-AutoLISP.jpg 1407w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-1-Hello-World-Message.jpg\" data-lbwps-width=\"145\" data-lbwps-height=\"133\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-1-Hello-World-Message.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"145\" height=\"133\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-1-Hello-World-Message.jpg\" alt=\"\" class=\"wp-image-15130\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-introduction-to-the-customize-user-interface-editor\">Introduction to the Customize User Interface Editor<\/h2>\n\n\n\n<p>A cuix file stores all the interface customizations like the menus, ribbon tabs, and workspaces. It controls how the commands are organized and displayed on the ribbon tab. You can also type&nbsp;<strong>CUI<\/strong>&nbsp;on the command line to open the Customize User Interface (CUI) Editor.<\/p>\n\n\n\n<p>It\u2019s always a good idea to back up the current customization file before making any changes. The customization file path is listed in the Properties Tab under&nbsp;<strong>General&nbsp;<\/strong><strong>\u27a4<\/strong><strong>&nbsp;Filename<\/strong><\/p>\n\n\n\n<p>Browse to the folder and copy the customization file\/s to a backup folder of your choice.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location.jpg\" data-lbwps-width=\"1920\" data-lbwps-height=\"322\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-300x50.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"172\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-1024x172.jpg\" alt=\"Screenshot of AutoCAD CUI File Location\" class=\"wp-image-15136\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-1024x172.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-300x50.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-768x129.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location-1536x258.jpg 1536w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-2-CUI-File-Location.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-adding-lisp-files-to-cui\">Adding LISP files to CUI<\/h2>\n\n\n\n<p>1. Launch the Customize User Interface (CUI) Editor.<\/p>\n\n\n\n<p>2. In the left panel, right-click on the Lisp Files option and click on Load File.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-3-Load-LISP.jpg\" data-lbwps-width=\"606\" data-lbwps-height=\"808\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-3-Load-LISP-225x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"808\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-3-Load-LISP.jpg\" alt=\"AutoCAD screenshot load LISP\" class=\"wp-image-15139\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-3-Load-LISP.jpg 606w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-3-Load-LISP-225x300.jpg 225w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/a><\/figure>\n\n\n\n<p>3. Browse to the folder where you have stored the AutoLISP program and select the program.<\/p>\n\n\n\n<p>4. Now the program will be listed under LISP files, and it will be automatically loaded every time you start AutoCAD.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-4-LISP-File-Loaded.jpg\" data-lbwps-width=\"615\" data-lbwps-height=\"821\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-4-LISP-File-Loaded-225x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"821\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-4-LISP-File-Loaded.jpg\" alt=\"AutoCAD Screenshot of LISP File Loaded\" class=\"wp-image-15142\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-4-LISP-File-Loaded.jpg 615w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-4-LISP-File-Loaded-225x300.jpg 225w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/a><\/figure>\n\n\n\n<p>5. Click Apply and OK<\/p>\n\n\n\n<p>6. A security warning will appear if the AutoLISP program does not have a CA recognized digital signature installed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt.jpg\" data-lbwps-width=\"1052\" data-lbwps-height=\"552\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt-300x157.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt-1024x537.jpg\" alt=\"Screenshot of AutoCAD security prompt\" class=\"wp-image-15145\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt-1024x537.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt-300x157.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt-768x403.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-5-Security-Prompt.jpg 1052w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Clicking on&nbsp;<strong>\u201cAlways Load\u201d<\/strong>&nbsp;will trust the AutoLISP program and the security warning will not be shown again unless the LISP program is modified.<\/p>\n\n\n\n<p>Clicking on&nbsp;<strong>\u201cLoad Once\u201d<\/strong>&nbsp;will only trust the AutoLISP program for the current instance of AutoCAD and the warning message will be shown every time the program is loaded.<\/p>\n\n\n\n<p><strong>Important Note:<\/strong>&nbsp;Only load AutoLISP files that you wrote yourself or that come from trusted sources. Loading unverified files can pose security risks or compromise your system.<\/p>\n\n\n\n<p>Now at this point, we have successfully loaded an AutoLISP program into AutoCAD and the HelloWorld command can be called from the command line. Next, we will convert this into an AutoCAD command and assign an icon to it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-a-command-from-autolisp-programs-and-assigning-an-icon\">Creating a Command from AutoLISP Programs and Assigning an Icon<\/h2>\n\n\n\n<p>1. Launch the Customize User Interface (CUI) Editor.<\/p>\n\n\n\n<p>2. In the left panel, Under the Command List menu, click on Add new command.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command.jpg\" data-lbwps-width=\"616\" data-lbwps-height=\"1226\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command-151x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"1024\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command-515x1024.jpg\" alt=\"Screenshot of AutoCAD create a new command\" class=\"wp-image-15148\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command-515x1024.jpg 515w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command-151x300.jpg 151w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-6-Create-a-New-Command.jpg 616w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><\/figure>\n\n\n\n<p>3. Add all the required information like the Name, Description, and Command Display Name.<\/p>\n\n\n\n<p>4. Assign an icon of your preference or browse and upload a custom icon (Optional).<\/p>\n\n\n\n<p>5. Under Macro,&nbsp;<strong>add ^C^CHelloWorld<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters.jpg\" data-lbwps-width=\"1920\" data-lbwps-height=\"1004\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-300x157.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-1024x535.jpg\" alt=\"Screenshot of AutoCAD Command Parameters\" class=\"wp-image-15151\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-1024x535.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-300x157.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-768x402.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters-1536x803.jpg 1536w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-7-Command-Parameters.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><em>If you are using some other custom program than the one we are using in this example, you should enter the command name for your lisp program. The command name can be identified by opening the lisp program and looking for the following syntax (defun c:&nbsp;<strong>HelloWorld&nbsp;<\/strong>)<\/em><\/p>\n\n\n\n<p>6. Click Apply and OK<\/p>\n\n\n\n<p>Now at this point, we have successfully created a new AutoCAD command that references our AutoLISP program. Next, we will look into how we can add this command to the ribbon.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-adding-the-custom-command-to-the-ribbon\">Adding the Custom Command to the Ribbon<\/h2>\n\n\n\n<p>My previous blog post, <em><a href=\"https:\/\/www.autodesk.com\/blogs\/autocad\/a-guide-to-autocad-ribbon-customization\/\" target=\"_blank\" rel=\"noreferrer noopener\">A Guide to AutoCAD Ribbon Customization<\/a>,<\/em> covers in detail how to add the built-in commands to the ribbon. Please refer to it for more detailed instructions.<\/p>\n\n\n\n<p>1. Launch the Customize User Interface (CUI) Editor.<\/p>\n\n\n\n<p>2. In the left panel, expand the Ribbon Tab and expand the Panels Tab.<\/p>\n\n\n\n<p>3. Add a new panel and a row. Give the panel a meaningful name, for example, \u201cMy Panel.\u201d<\/p>\n\n\n\n<p>4. Search for our HelloWorld command under the command list and simply drag and drop it to the Row under the new panel we just created.<\/p>\n\n\n\n<p>5. Set the Button style to&nbsp;<strong>Large with Text (Horizontal)&nbsp;<\/strong>or your preferred view. Panel Preview window will update the preview on how it would look on the ribbon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview.jpg\" data-lbwps-width=\"1920\" data-lbwps-height=\"1004\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-300x157.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-1024x535.jpg\" alt=\"Screenshot of AutoCAD panel preview\" class=\"wp-image-15155\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-1024x535.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-300x157.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-768x402.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview-1536x803.jpg 1536w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-8-Panel-Preview.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>6. Drag and drop or copy the new panel&nbsp;<strong>\u201cMy Panel\u201d<\/strong>&nbsp;to the bottom of the&nbsp;<strong>Home-2D<\/strong>&nbsp;Tab under Ribbon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI.jpg\" data-lbwps-width=\"1920\" data-lbwps-height=\"1004\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-300x157.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-1024x535.jpg\" alt=\"Screenshot of AutoCAD home tab CUI\" class=\"wp-image-15158\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-1024x535.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-300x157.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-768x402.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI-1536x803.jpg 1536w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-9-Home-Tab-CUI.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>7. Press Apply and OK. Just like that, the new command has been added to the ribbon and is ready to be used.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview.jpg\" data-lbwps-width=\"1920\" data-lbwps-height=\"152\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-300x24.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"81\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-1024x81.jpg\" alt=\"Screenshot of AutoCAD home tab preview\" class=\"wp-image-15161\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-1024x81.jpg 1024w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-300x24.jpg 300w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-768x61.jpg 768w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-1536x122.jpg 1536w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview-1900x152.jpg 1900w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Reference-Image-10-Home-Tab-Preview.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-keep-going\">Keep Going<\/h2>\n\n\n\n<p>Integrating AutoLISP commands into AutoCAD\u2019s ribbon not only enhances productivity, but also provides a customized and efficient user experience. <\/p>\n\n\n\n<p>By leveraging the power of AutoLISP and the flexibility of the Customize User Interface (CUI) Editor, you can streamline your workflows and tailor AutoCAD to suit your unique needs. Remember to always verify the source of AutoLISP files to ensure security and avoid potential risks.<\/p>\n\n\n\n<p>The\u00a0<a href=\"https:\/\/forums.autodesk.com\/t5\/visual-lisp-autolisp-and-general\/bd-p\/130\" target=\"_blank\" rel=\"noreferrer noopener\">Visual LISP, AutoLISP, and General Customization<\/a>\u00a0community forum is a great place to get help with AutoLISP programs from the experts in the Autodesk community. Happy coding and designing!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-learn-more\">Learn More<\/h2>\n\n\n\n<p><em>Enjoyed this article? Then check out the\u00a0<a href=\"https:\/\/www.autodesk.com\/community\" target=\"_blank\" rel=\"noreferrer noopener\">Autodesk Community<\/a>\u00a0for even more great content from talented users across Design and Make industries.<\/em><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contributed by Autodesk Community member\u00a0Arshdeep Singh In my previous blog post,&nbsp;A Guide to AutoCAD Ribbon Customization, I explained how the built-in commands from AutoCAD can be added to the ribbon to streamline workflows and enhance productivity. This blog is a continuation, where I expand on how to take customization a step further by integrating your [&hellip;]<\/p>\n","protected":false},"author":68108,"featured_media":15164,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[893],"tags":[828,7667,386,224,501],"class_list":["post-15128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning","tag-autocad-commands","tag-autocad-community","tag-autolisp","tag-commands","tag-ribbon","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 Add Custom AutoLISP Commands Into the AutoCAD Ribbon | AutoCAD Blog | Autodesk<\/title>\n<meta name=\"description\" content=\"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.\" \/>\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\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon\" \/>\n<meta property=\"og:description\" content=\"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/\" \/>\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=\"2025-02-11T18:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-12T03:03:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1281\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"AutoCAD Community\" \/>\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=\"AutoCAD Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 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\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/\"},\"author\":{\"name\":\"AutoCAD Community\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/person\\\/11289172e1ed99061b3fec2c58657389\"},\"headline\":\"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon\",\"datePublished\":\"2025-02-11T18:02:00+00:00\",\"dateModified\":\"2025-02-12T03:03:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/\"},\"wordCount\":1081,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/11\\\/Custom-AutoLISP-Feature.jpeg\",\"keywords\":[\"AutoCAD Commands\",\"AutoCAD Community\",\"AutoLISP\",\"Commands\",\"Ribbon\"],\"articleSection\":[\"Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/\",\"name\":\"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon | AutoCAD Blog | Autodesk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/11\\\/Custom-AutoLISP-Feature.jpeg\",\"datePublished\":\"2025-02-11T18:02:00+00:00\",\"dateModified\":\"2025-02-12T03:03:20+00:00\",\"description\":\"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/11\\\/Custom-AutoLISP-Feature.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/11\\\/Custom-AutoLISP-Feature.jpeg\",\"width\":1920,\"height\":1281,\"caption\":\"Focused professional working on a laptop in a modern, well-lit office environment. Wearing glasses and casual outfit, displaying concentration and productivity.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\\\/#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 Add Custom AutoLISP Commands Into the AutoCAD Ribbon\"}]},{\"@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\\\/11289172e1ed99061b3fec2c58657389\",\"name\":\"AutoCAD Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/10\\\/autodesk-community-logo-dark-c.svg\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/10\\\/autodesk-community-logo-dark-c.svg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/10\\\/autodesk-community-logo-dark-c.svg\",\"caption\":\"AutoCAD Community\"},\"description\":\"Posts contributed by AutoCAD Community members\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/author\\\/autodeskcommunity\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon | AutoCAD Blog | Autodesk","description":"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.","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\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon","og_description":"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.","og_url":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/","og_site_name":"AutoCAD Blog","article_publisher":"https:\/\/www.facebook.com\/autocad","article_published_time":"2025-02-11T18:02:00+00:00","article_modified_time":"2025-02-12T03:03:20+00:00","og_image":[{"width":1920,"height":1281,"url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg","type":"image\/jpeg"}],"author":"AutoCAD Community","twitter_card":"summary_large_image","twitter_creator":"@autocad","twitter_site":"@autocad","twitter_misc":{"Written by":"AutoCAD Community","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/"},"author":{"name":"AutoCAD Community","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/person\/11289172e1ed99061b3fec2c58657389"},"headline":"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon","datePublished":"2025-02-11T18:02:00+00:00","dateModified":"2025-02-12T03:03:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/"},"wordCount":1081,"commentCount":0,"publisher":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg","keywords":["AutoCAD Commands","AutoCAD Community","AutoLISP","Commands","Ribbon"],"articleSection":["Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/","url":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/","name":"How to Add Custom AutoLISP Commands Into the AutoCAD Ribbon | AutoCAD Blog | Autodesk","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg","datePublished":"2025-02-11T18:02:00+00:00","dateModified":"2025-02-12T03:03:20+00:00","description":"Discover how to write a simple AutoLISP program, convert it into a regular AutoCAD command with a custom icon, and add it to the ribbon.","breadcrumb":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#primaryimage","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/11\/Custom-AutoLISP-Feature.jpeg","width":1920,"height":1281,"caption":"Focused professional working on a laptop in a modern, well-lit office environment. Wearing glasses and casual outfit, displaying concentration and productivity."},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/how-to-add-custom-autolisp-commands-into-the-autocad-ribbon\/#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 Add Custom AutoLISP Commands Into the AutoCAD Ribbon"}]},{"@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\/11289172e1ed99061b3fec2c58657389","name":"AutoCAD Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/10\/autodesk-community-logo-dark-c.svg","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/10\/autodesk-community-logo-dark-c.svg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/10\/autodesk-community-logo-dark-c.svg","caption":"AutoCAD Community"},"description":"Posts contributed by AutoCAD Community members","url":"https:\/\/www.autodesk.com/blogs\/autocad\/author\/autodeskcommunity\/"}]}},"_links":{"self":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/15128","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\/68108"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/comments?post=15128"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/15128\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media\/15164"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media?parent=15128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/categories?post=15128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/tags?post=15128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}