{"id":15208,"date":"2025-02-14T07:00:00","date_gmt":"2025-02-14T15:00:00","guid":{"rendered":"https:\/\/www.autodesk.com/blogs\/autocad\/?p=15208"},"modified":"2025-02-13T14:23:49","modified_gmt":"2025-02-13T22:23:49","slug":"autocad-setbylayer-command","status":"publish","type":"post","link":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/","title":{"rendered":"Did You Know About the AutoCAD SETBYLAYER Command?"},"content":{"rendered":"\n<p><em><strong>Contributed by <a href=\"https:\/\/www.autodesk.com\/expert-elite\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Autodesk Expert Elite<\/a> and\u00a0<a href=\"https:\/\/www.autodesk.com\/community\" target=\"_blank\" rel=\"noreferrer noopener\">Autodes<\/a><\/strong><\/em><strong><em><a href=\"https:\/\/www.autodesk.com\/community\" target=\"_blank\" rel=\"noreferrer noopener\">k Community<\/a>\u00a0member <a href=\"https:\/\/forums.autodesk.com\/t5\/user\/viewprofilepage\/user-id\/660633\" target=\"_blank\" rel=\"noreferrer noopener\">Tom Richardson<\/a><\/em><\/strong><\/p>\n\n\n\n<p>Have you ever referenced a drawing into another drawing, but the content isn&#8217;t showing the correct color, line weight, or line type based on the layer state in your current viewport\/drawing? In this article, take a deep dive on\u00a0how to resolve this issue using the AutoCAD SETBYLAYER command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-situation\">The Situation<\/h2>\n\n\n\n<p>You receive a drawing from another user\/department, such as an exported CAD file from Revit. You download the drawing and then set the layer colors and visibility based on the CAD standards for your project. Unfortunately, some content does not show the correct colors, linetypes, etc.<\/p>\n\n\n\n<p>This image shows the received drawing with no layer color changes.<\/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\/14\/SETBYLAYER-1.jpg\" data-lbwps-width=\"620\" data-lbwps-height=\"720\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-1-258x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"720\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-1.jpg\" alt=\"Screenshot of AutoCAD drawing with no color on layers\" class=\"wp-image-15210\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-1.jpg 620w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-1-258x300.jpg 258w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/figure>\n\n\n\n<p>This next image shows how the drawing looks after changing all layer colors to color 1 (red). Compare this image with the previous image. Notice that the hatch objects and elevator still show their original color (yellow, blue, and purple) despite the layer color change. This is because the objects have forced colors set in their properties.<\/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\/14\/SETBYLAYER-2.jpg\" data-lbwps-width=\"517\" data-lbwps-height=\"600\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-2-259x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"600\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-2.jpg\" alt=\"Screenshot of AutoCAD layers changed to red color\" class=\"wp-image-15213\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-2.jpg 517w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-2-259x300.jpg 259w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-resolution\">The Resolution<\/h2>\n\n\n\n<p>Use the SETBYLAYER command to reset the properties of objects in the drawing to ByLayer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-workflow\">The Workflow<\/h2>\n\n\n\n<p>1. Open your copy of the AutoCAD drawing that you received.<\/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\/14\/SETBYLAYER-3.jpg\" data-lbwps-width=\"517\" data-lbwps-height=\"600\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-3-259x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"600\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-3.jpg\" alt=\"AutoCAD drawing with layers\" class=\"wp-image-15216\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-3.jpg 517w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-3-259x300.jpg 259w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/figure>\n\n\n\n<p>2. Thaw, turn layers on, and unlock all layers in the drawing.<\/p>\n\n\n\n<p>3. With no objects selected, type SETBYLAYER and then press Enter.<\/p>\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\/14\/SETBYLAYER-4.jpg\" data-lbwps-width=\"538\" data-lbwps-height=\"60\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-4-300x33.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"60\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-4.jpg\" alt=\"\" class=\"wp-image-15219\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-4.jpg 538w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-4-300x33.jpg 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/figure>\n\n\n\n<p>4. Review the active settings at the command line. See the\u00a0<strong><em>Instructions for Changing Settings\u00a0<\/em><\/strong>section below if you want to change the active settings.<\/p>\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\/14\/SETBYLAYER-5.jpg\" data-lbwps-width=\"551\" data-lbwps-height=\"60\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-5-300x33.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"551\" height=\"60\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-5.jpg\" alt=\"\" class=\"wp-image-15223\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-5.jpg 551w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-5-300x33.jpg 300w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/a><\/figure>\n\n\n\n<p>5. Select the objects you want to modify or type ALL and press Enter.<\/p>\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\/14\/SETBYLAYER-6.jpg\" data-lbwps-width=\"538\" data-lbwps-height=\"60\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-6-300x33.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"60\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-6.jpg\" alt=\"\" class=\"wp-image-15226\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-6.jpg 538w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-6-300x33.jpg 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/figure>\n\n\n\n<p>6. After selecting the objects, confirm the number of objects selected and press Enter.<\/p>\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\/14\/SETBYLAYER-7.jpg\" data-lbwps-width=\"538\" data-lbwps-height=\"56\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-7-300x31.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"56\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-7.jpg\" alt=\"\" class=\"wp-image-15229\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-7.jpg 538w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-7-300x31.jpg 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/figure>\n\n\n\n<p>7. You will then be asked if you want to change the ByBlock properties to ByLayer. The default response if you press Enter is Yes.<\/p>\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\/14\/SETBYLAYER-8.jpg\" data-lbwps-width=\"538\" data-lbwps-height=\"60\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-8-300x33.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"60\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-8.jpg\" alt=\"\" class=\"wp-image-15232\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-8.jpg 538w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-8-300x33.jpg 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/figure>\n\n\n\n<p>8. You will then be asked if you want to include blocks. The default response if you press Enter is Yes.<\/p>\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\/14\/SETBYLAYER-9.jpg\" data-lbwps-width=\"595\" data-lbwps-height=\"48\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-9-300x24.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"48\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-9.jpg\" alt=\"\" class=\"wp-image-15236\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-9.jpg 595w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-9-300x24.jpg 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><\/figure>\n\n\n\n<p>9. Confirm that the content in the drawing is now correctly showing the properties based on the current layer state.<\/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\/14\/SETBYLAYER-10.jpg\" data-lbwps-width=\"517\" data-lbwps-height=\"600\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-10-259x300.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"600\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-10.jpg\" alt=\"\" class=\"wp-image-15239\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-10.jpg 517w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-10-259x300.jpg 259w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/figure>\n\n\n\n<p>10. Use the Layer Previous command (LAYERP) to reset the layer state to the CAD Standards for your project and save the drawing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-instructions-for-changing-settings\">Instructions for Changing Settings<\/h2>\n\n\n\n<p>A. Before selecting the objects for this command, type S and press Enter.<\/p>\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\/14\/SETBYLAYER-11.jpg\" data-lbwps-width=\"600\" data-lbwps-height=\"66\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-11-300x33.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"66\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-11.jpg\" alt=\"\" class=\"wp-image-15242\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-11.jpg 600w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-11-300x33.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p>B. In the SetByLayer Settings dialog, uncheck any properties you do not want to change to ByLayer and click OK. The options available to change are Color, Linetype, Lineweight, Material, Plot Style (if available), and Transparency.<\/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\/14\/SETBYLAYER-12.jpg\" data-lbwps-width=\"516\" data-lbwps-height=\"370\" data-lbwps-srcsmall=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-12-300x215.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"370\" src=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-12.jpg\" alt=\"\" class=\"wp-image-15245\" srcset=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-12.jpg 516w, https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-12-300x215.jpg 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><\/figure>\n\n\n\n<p>C. Continue using the command by selecting objects, as noted in Step 5 above.<\/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","protected":false},"excerpt":{"rendered":"<p>Contributed by Autodesk Expert Elite and\u00a0Autodesk Community\u00a0member Tom Richardson Have you ever referenced a drawing into another drawing, but the content isn&#8217;t showing the correct color, line weight, or line type based on the layer state in your current viewport\/drawing? In this article, take a deep dive on\u00a0how to resolve this issue using the AutoCAD [&hellip;]<\/p>\n","protected":false},"author":68108,"featured_media":15249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[893],"tags":[7667,224,287],"class_list":["post-15208","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning","tag-autocad-community","tag-commands","tag-layers","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>Did You Know About the AutoCAD SETBYLAYER Command? | AutoCAD Blog | Autodesk<\/title>\n<meta name=\"description\" content=\"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.\" \/>\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\/autocad-setbylayer-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Did You Know About the AutoCAD SETBYLAYER Command?\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/\" \/>\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-14T15:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\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=\"5 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\\\/autocad-setbylayer-command\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/\"},\"author\":{\"name\":\"AutoCAD Community\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#\\\/schema\\\/person\\\/11289172e1ed99061b3fec2c58657389\"},\"headline\":\"Did You Know About the AutoCAD SETBYLAYER Command?\",\"datePublished\":\"2025-02-14T15:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/\"},\"wordCount\":462,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/14\\\/SETBYLAYER-Feature.jpg\",\"keywords\":[\"AutoCAD Community\",\"Commands\",\"Layers\"],\"articleSection\":[\"Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/\",\"name\":\"Did You Know About the AutoCAD SETBYLAYER Command? | AutoCAD Blog | Autodesk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/14\\\/SETBYLAYER-Feature.jpg\",\"datePublished\":\"2025-02-14T15:00:00+00:00\",\"description\":\"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/14\\\/SETBYLAYER-Feature.jpg\",\"contentUrl\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/wp-content\\\/uploads\\\/sites\\\/35\\\/2025\\\/02\\\/14\\\/SETBYLAYER-Feature.jpg\",\"width\":1920,\"height\":1440},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.autodesk.com/blogs\\\/autocad\\\/autocad-setbylayer-command\\\/#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\":\"Did You Know About the AutoCAD SETBYLAYER Command?\"}]},{\"@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":"Did You Know About the AutoCAD SETBYLAYER Command? | AutoCAD Blog | Autodesk","description":"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.","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\/autocad-setbylayer-command\/","og_locale":"en_US","og_type":"article","og_title":"Did You Know About the AutoCAD SETBYLAYER Command?","og_description":"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.","og_url":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/","og_site_name":"AutoCAD Blog","article_publisher":"https:\/\/www.facebook.com\/autocad","article_published_time":"2025-02-14T15:00:00+00:00","og_image":[{"width":1920,"height":1440,"url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg","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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/"},"author":{"name":"AutoCAD Community","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#\/schema\/person\/11289172e1ed99061b3fec2c58657389"},"headline":"Did You Know About the AutoCAD SETBYLAYER Command?","datePublished":"2025-02-14T15:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/"},"wordCount":462,"commentCount":0,"publisher":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#organization"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg","keywords":["AutoCAD Community","Commands","Layers"],"articleSection":["Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/","url":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/","name":"Did You Know About the AutoCAD SETBYLAYER Command? | AutoCAD Blog | Autodesk","isPartOf":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg","datePublished":"2025-02-14T15:00:00+00:00","description":"Learn how to use the AutoCAD SETBYLAYER command to show the correct color, line weight, or line type based on the layer state in a current drawing.","breadcrumb":{"@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#primaryimage","url":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg","contentUrl":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-content\/uploads\/sites\/35\/2025\/02\/14\/SETBYLAYER-Feature.jpg","width":1920,"height":1440},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com/blogs\/autocad\/autocad-setbylayer-command\/#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":"Did You Know About the AutoCAD SETBYLAYER Command?"}]},{"@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\/15208","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=15208"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/posts\/15208\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media\/15249"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/media?parent=15208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/categories?post=15208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com/blogs\/autocad\/wp-json\/wp\/v2\/tags?post=15208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}