<?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: i want  select object in model space in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664800#M15912</link>
    <description>&lt;P&gt;That would be an easy thing to write a routine to do, but with one object selected [or multiple objects if they're all on the same Layer] the Layer panel in the ribbon shows you directly:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1711400805232.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1341576i61B6779B4F59D4D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1711400805232.png" alt="Kent1Cooper_0-1711400805232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Does that not tell you what you want to know?&amp;nbsp; I keep the Properties palette up all the time, narrowed down along one side of the screen, and it also shows the Layer of what is selected [again, when more than one object, if they are all on the same Layer].&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 21:09:34 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2024-03-25T21:09:34Z</dc:date>
    <item>
      <title>i want  select object in model space</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664621#M15911</link>
      <description>&lt;P&gt;its possible i select object and get layer name in msgbox&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 20:49:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664621#M15911</guid>
      <dc:creator>jaimuthu</dc:creator>
      <dc:date>2024-03-25T20:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: i want  select object in model space</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664800#M15912</link>
      <description>&lt;P&gt;That would be an easy thing to write a routine to do, but with one object selected [or multiple objects if they're all on the same Layer] the Layer panel in the ribbon shows you directly:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1711400805232.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1341576i61B6779B4F59D4D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1711400805232.png" alt="Kent1Cooper_0-1711400805232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Does that not tell you what you want to know?&amp;nbsp; I keep the Properties palette up all the time, narrowed down along one side of the screen, and it also shows the Layer of what is selected [again, when more than one object, if they are all on the same Layer].&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 21:09:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664800#M15912</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-03-25T21:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: i want  select object in model space</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664819#M15913</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2061372"&gt;@jaimuthu&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;test it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq ent (car (entsel "\n Pick the Obj" )))
(setq ent-name (Cdr (assoc 0 (entget ent))))
 (setq ent-layer (Cdr (assoc 8 (entget ent))))     
  (alert (strcat "\n the object is a: "  ent-name "\n on layer" ent-layer))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 21:16:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12664819#M15913</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2024-03-25T21:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: i want  select object in model space</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12665235#M15914</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2061372"&gt;@jaimuthu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... i select object and get layer name in msgbox&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In very simplest terms, if literally just that much will do:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt;(alert (cdr (assoc 8 (entget (car (entsel))))))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;You can just paste that in at the command line, or put just that into a Tool Palette button, or with a little bit of additional code, define it into a command name that you can type in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 01:55:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-want-select-object-in-model-space/m-p/12665235#M15914</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-03-26T01:55:43Z</dc:date>
    </item>
  </channel>
</rss>

