<?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 Betreff: Update Multi-Line attribute with LISP in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391306#M97059</link>
    <description>&lt;P&gt;Check the entitylist of single and multiline attributes..&lt;/P&gt;
&lt;P&gt;Check what (assoc 1 att3) will find =&amp;gt; every time only the first hit in the list.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(setq INSTELEV "EL.")&lt;BR /&gt;(setq ATT3 (subst (cons 1 INSTELEV) (assoc 1 (reverse ATT3)) ATT3))&lt;BR /&gt;(entmod ATT3)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Ans SUBST change ALL matches (if the first and the second dxf-1 has the same value..),&lt;/P&gt;
&lt;P&gt;so subst works, but it isn't perfect - would the teacher say.&lt;/P&gt;
&lt;P&gt;since I assume that the first dxf-1 dottedpair actually should always have the value "".&lt;BR /&gt;But I do not know any problems with using a different value there, it just gets overruled, I think.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 11:58:50 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2018-11-09T11:58:50Z</dc:date>
    <item>
      <title>Update Multi-Line attribute with LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391223#M97058</link>
      <description>&lt;P&gt;I have a LISP routine where I am replacing an attribute value.&lt;/P&gt;&lt;P&gt;It worked fine until I changed the attribute within the block to a multi-line attribute.&lt;/P&gt;&lt;P&gt;I am only going to use a single line of text in it. (It is multi-line so a text mask can be used)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the code snippet that used to work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq INSTELEV "EL.")&lt;/P&gt;&lt;P&gt;(setq ATT3 (subst (cons 1 INSTELEV) (assoc 1 ATT3) ATT3))&lt;BR /&gt;(entmod ATT3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for any ideas!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:09:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391223#M97058</guid>
      <dc:creator>vrod_2000</dc:creator>
      <dc:date>2018-11-09T11:09:42Z</dc:date>
    </item>
    <item>
      <title>Betreff: Update Multi-Line attribute with LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391306#M97059</link>
      <description>&lt;P&gt;Check the entitylist of single and multiline attributes..&lt;/P&gt;
&lt;P&gt;Check what (assoc 1 att3) will find =&amp;gt; every time only the first hit in the list.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(setq INSTELEV "EL.")&lt;BR /&gt;(setq ATT3 (subst (cons 1 INSTELEV) (assoc 1 (reverse ATT3)) ATT3))&lt;BR /&gt;(entmod ATT3)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Ans SUBST change ALL matches (if the first and the second dxf-1 has the same value..),&lt;/P&gt;
&lt;P&gt;so subst works, but it isn't perfect - would the teacher say.&lt;/P&gt;
&lt;P&gt;since I assume that the first dxf-1 dottedpair actually should always have the value "".&lt;BR /&gt;But I do not know any problems with using a different value there, it just gets overruled, I think.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:58:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391306#M97059</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2018-11-09T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: Update Multi-Line attribute with LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391565#M97060</link>
      <description>&lt;P&gt;(humble bow)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;supreme awesomeness!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:37:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-multi-line-attribute-with-lisp/m-p/8391565#M97060</guid>
      <dc:creator>vrod_2000</dc:creator>
      <dc:date>2018-11-09T13:37:22Z</dc:date>
    </item>
  </channel>
</rss>

