<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Quick select a layer to draw in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467704#M74504</link>
    <description>&lt;P&gt;You can also use objects to set the current layer:&lt;/P&gt;&lt;P&gt;Make Object’s Layer Current (LAYMCUR)&lt;/P&gt;&lt;P&gt;Using this tool will change the current layer by selecting an object as reference.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There's a button for it, too.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jul 2021 09:56:17 GMT</pubDate>
    <dc:creator>RobDraw</dc:creator>
    <dc:date>2021-07-14T09:56:17Z</dc:date>
    <item>
      <title>Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10463978#M74496</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use 5 different layers a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I always need to go search for the correct layer to use in the dropdown layer menu.&lt;/P&gt;&lt;P&gt;But can I add a button to my screen for the most used layers? So I can click these buttons so I have instant the correct layer?&lt;/P&gt;&lt;P&gt;Or can I add a layer type to a keyboard key ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;DVR.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 07:39:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10463978#M74496</guid>
      <dc:creator>dvrVSNMW</dc:creator>
      <dc:date>2021-07-13T07:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464097#M74497</link>
      <description>&lt;P&gt;Use Laycur command&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 08:14:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464097#M74497</guid>
      <dc:creator>makdezines</dc:creator>
      <dc:date>2021-07-13T08:14:22Z</dc:date>
    </item>
    <item>
      <title>Betreff: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464209#M74498</link>
      <description>&lt;P&gt;You can change the active Layer with the CLAYER command.&lt;/P&gt;&lt;P&gt;To use it with a button in the ribbon or keyboard-shortcut, you need a macro.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;^C^C_CLAYER;0;&lt;/P&gt;&lt;P&gt;This changes the active layer to 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have more than just numbers as layernames, you need to put the layername in quotations. Example (i have AM_-layers for using AutoCAD Mechanical...therefore...)&lt;/P&gt;&lt;P&gt;^C^C_CLAYER;"AM_4";&lt;/P&gt;&lt;P&gt;This changes the active layer to AM_4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The macro can be assigned in the CUI (customer user interface).&lt;/P&gt;&lt;P&gt;There in the bottom-left block you can create a new command, rename it and put in the macro with the desired layername.&lt;/P&gt;&lt;P&gt;To use it as keyboard-shortcut:&lt;/P&gt;&lt;P&gt;Now in the list of the top-left block, expand the part named Keyboard....uhm...something (-shortcut commands?). Below this should now be "Keyboard shortcuts". Drag and drop the new command from the bottom-left block to here.&lt;/P&gt;&lt;P&gt;Now at the right side of the menu, you can assign a keyboard-shortcut. (use the [...]-box at the right)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assigning it to a button to the ribbon is also possible in the CUI, but that's out of my experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, by the way...it only works, if the layer is already a part of the drawing. If the layer isn't in the drawing (just activated once - no lines have to be used), it returns an error message.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 08:59:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464209#M74498</guid>
      <dc:creator>illusionistNUGXG</dc:creator>
      <dc:date>2021-07-13T08:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464661#M74499</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6753036"&gt;@makdezines&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Use Laycur command&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think you mean LAY&lt;STRONG&gt;M&lt;/STRONG&gt;CUR.&amp;nbsp; LAYCUR puts selected objects on the current Layer [it does not change the current Layer]; LAYMCUR makes the Layer of a selected object current.&amp;nbsp; But LAYMCUR requires having an object drawn on that Layer to select, which you might not always have, or not in the current view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest macro items in a Tool Palette, as already suggested by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5818562"&gt;@illusionistNUGXG&lt;/a&gt;&amp;nbsp;, but with a difference.&amp;nbsp; The Layer command &lt;EM&gt;can be transparent&lt;/EM&gt;, meaning you can use it &lt;EM&gt;in the middle of another command&lt;/EM&gt; if you have reason to.&amp;nbsp; [I'm not sure what such a reason might be in the case of LAYER, but there could be some.]&amp;nbsp; In order to allow that possibility, you can't have the common ^C^C [two Cancels] at the beginning of the macro, and you must use &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'&lt;FONT color="#3366FF"&gt;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;LAYER with the &lt;FONT color="#FF0000"&gt;apostrophe&lt;/FONT&gt; prefix for transparent use and the &lt;FONT color="#3366FF"&gt;hyphen&lt;/FONT&gt; to prevent the dialog box.&amp;nbsp; Macros like these:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Set &lt;EM&gt;&lt;FONT color="#00CCFF"&gt;YourLayer1&lt;/FONT&gt;&lt;/EM&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Set &lt;FONT color="#00CCFF"&gt;&lt;EM&gt;YourLayer2&lt;/EM&gt;&lt;/FONT&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Set &lt;FONT color="#00CCFF"&gt;&lt;EM&gt;YourLayer3&lt;/EM&gt;&lt;/FONT&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case the Layer in question may not exist in the drawing, you can use the _Make option instead of _Set, which will also make it current, and which won't have any problem if the Layer &lt;EM&gt;does&lt;/EM&gt; already exist:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Make&amp;nbsp;&lt;EM&gt;&lt;FONT color="#00CCFF"&gt;YourLayer1&lt;/FONT&gt;&lt;/EM&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Make &lt;FONT color="#00CCFF"&gt;&lt;EM&gt;YourLayer2&lt;/EM&gt;&lt;/FONT&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;'_.-LAYER _Make &lt;FONT color="#00CCFF"&gt;&lt;EM&gt;YourLayer3&lt;/EM&gt;&lt;/FONT&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[The underscores make them work in AutoCAD for any language, and the periods make them use the native command in case there may have been a revised definition of it.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 12:07:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464661#M74499</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-07-13T12:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464887#M74500</link>
      <description>&lt;P&gt;Thx for the reply's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never made a macro. Can u pls help me on this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came this far:&lt;/P&gt;&lt;P&gt;&lt;A href="https://ibb.co/nP631hT" target="_blank"&gt;https://ibb.co/nP631hT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But where do I enter the command I want to use? And what type of commands should I use to keep it simple? Like l1, l2, l3, l4,... ?&lt;/P&gt;&lt;P&gt;Are the things I have done already correct ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 12:50:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10464887#M74500</guid>
      <dc:creator>dvrVSNMW</dc:creator>
      <dc:date>2021-07-13T12:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10465177#M74501</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7061903"&gt;@dvrVSNMW&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;....I never made a macro.&amp;nbsp;&lt;/SPAN&gt;....&amp;nbsp;where do I enter the command I want to use? And what type of commands should I use ... Like l1, l2, l3, l4,... ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From your original message, "...&lt;SPAN&gt;can I add a button to my screen for the most used layers? So I can click these buttons so I have instant the correct layer?" suggests a Tool Palette, in which there would be "buttons" to click on.&amp;nbsp; Those would contain code as in my previous Reply, and would&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; require giving a &lt;EM&gt;command name&lt;/EM&gt; to each -- you would just click on the buttons.&amp;nbsp; But if you want to have command names that you can &lt;EM&gt;type in&lt;/EM&gt;, that's a little different.&amp;nbsp; They could also be done with keyboard shortcuts [Ctrl+something, Alt+whatever, etc.].&amp;nbsp; Do you have a preferred method?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 13:59:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10465177#M74501</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-07-13T13:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467195#M74502</link>
      <description>&lt;P&gt;I was simply thinking of naming it lay1, lay2, lay3,...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'll try making buttons as well. Keep u updatet.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 06:22:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467195#M74502</guid>
      <dc:creator>dvrVSNMW</dc:creator>
      <dc:date>2021-07-14T06:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467696#M74503</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7061903"&gt;@dvrVSNMW&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;Or can I add a layer type to a keyboard key ? ...&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, this is a built-in feature, see&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/community/screencast/e14c26ce-b26d-4037-8195-ae7b2bda75b9" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp; how it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend turning off all other content but layers -- just to make the search list as clean as possible&amp;nbsp;from items you don't use.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 09:53:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467696#M74503</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-07-14T09:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Quick select a layer to draw</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467704#M74504</link>
      <description>&lt;P&gt;You can also use objects to set the current layer:&lt;/P&gt;&lt;P&gt;Make Object’s Layer Current (LAYMCUR)&lt;/P&gt;&lt;P&gt;Using this tool will change the current layer by selecting an object as reference.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There's a button for it, too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 09:56:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/quick-select-a-layer-to-draw/m-p/10467704#M74504</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2021-07-14T09:56:17Z</dc:date>
    </item>
  </channel>
</rss>

