<?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: Text field showing layer description in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822770#M138199</link>
    <description>&lt;P&gt;You can display Layer Description in a Text Field but how do you select the layer? Do you want the current layer? Or a selected object's layer? Or a fixed layer?&lt;/P&gt;
&lt;P&gt;If you want to display a possibly changing description of a fixed layer, you can just replace the property in the layer (named objects) field code - e.g.:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId 2097988848992&amp;gt;%).Description&amp;gt;%&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.cadstudio.cz" target="_blank"&gt;www.cadstudio.cz&lt;/A&gt; - &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2019 04:37:25 GMT</pubDate>
    <dc:creator>vladimir_michl</dc:creator>
    <dc:date>2019-05-30T04:37:25Z</dc:date>
    <item>
      <title>Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822412#M138197</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Autocad 2020 and I would like to insert a Text field that shows the layer description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that I can show the layer name but I want to show the layer description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 22:29:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822412#M138197</guid>
      <dc:creator>joseZ9KZ7</dc:creator>
      <dc:date>2019-05-29T22:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822484#M138198</link>
      <description>&lt;P&gt;I don't think a field is going to be able to do that, but you could place text in the dwg. Here is &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layer-name-and-layer-description-as-text-in-the-drawing/m-p/4621235" target="_blank" rel="noopener"&gt;a lisp&lt;/A&gt; that inserts text for all the layers. You could modify it to suit your needs.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 23:19:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822484#M138198</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-05-29T23:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822770#M138199</link>
      <description>&lt;P&gt;You can display Layer Description in a Text Field but how do you select the layer? Do you want the current layer? Or a selected object's layer? Or a fixed layer?&lt;/P&gt;
&lt;P&gt;If you want to display a possibly changing description of a fixed layer, you can just replace the property in the layer (named objects) field code - e.g.:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId 2097988848992&amp;gt;%).Description&amp;gt;%&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.cadstudio.cz" target="_blank"&gt;www.cadstudio.cz&lt;/A&gt; - &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 04:37:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822770#M138199</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2019-05-30T04:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822984#M138200</link>
      <description>&lt;P&gt;It would be the layer description of a selected object.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 08:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/8822984#M138200</guid>
      <dc:creator>joseZ9KZ7</dc:creator>
      <dc:date>2019-05-30T08:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/9537229#M138201</link>
      <description>&lt;P&gt;did you get any success with it? I think i'm trying to do the same thing, i Want to display the layer description but in the Field options i can only find the layer name option. Is it possible in any way?&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 22:24:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/9537229#M138201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-24T22:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/9537515#M138202</link>
      <description>&lt;P&gt;The layer description is "too far" - you will need to get the name of the layer from the selected object, get the Object ID of that layer and then get its Description property. I doubt this can be done just with fields. But it is quite simple in LISP, and maybe you can also add some kind of reactivity to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.cadstudio.cz" target="_blank"&gt;www.cadstudio.cz&lt;/A&gt;&amp;nbsp;- &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:41:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/9537515#M138202</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2020-05-25T05:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Text field showing layer description</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/11947942#M138203</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can copy the NamedObject field expression (without the %), paste it and change 'Name' to whatever property you'd like &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId 3111172414224&amp;gt;%).Color&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId 3111172414224&amp;gt;%).Description&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just add % at the start and end&lt;/P&gt;&lt;P&gt;you're welcomed&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 01:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-field-showing-layer-description/m-p/11947942#M138203</guid>
      <dc:creator>gros33</dc:creator>
      <dc:date>2023-05-08T01:26:42Z</dc:date>
    </item>
  </channel>
</rss>

