<?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: select the text objects using polyline strike-through in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240761#M100192</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5972109"&gt;@geoferoze&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to&amp;nbsp;select the text objects&amp;nbsp;using&amp;nbsp;polyline&amp;nbsp;strike-through. after select the texts, copy and past on notepad/word/excel in the same order.&amp;nbsp;….&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't say what you want to then do with the pasted-in-same-order result.&amp;nbsp; If, by chance, you want to then paste that resulting combination back into the drawing&amp;nbsp;in an Mtext object, you can use &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext.lsp&lt;/STRONG&gt;&lt;/FONT&gt;, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/combine-multiple-mtext-into-1-mtext/m-p/3114932/highlight/true#M298314" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;. &amp;nbsp; One of its differences from the &lt;FONT color="#000000"&gt;TXT2MTXT&lt;/FONT&gt; command is that &lt;EM&gt;the order of selection determines the order of the joined-together result&lt;/EM&gt;, rather than the relative positions of the selected objects.&amp;nbsp; No need for a Polyline strike-through object to define the order -- just pick them in the order you want.&amp;nbsp; See the description at the top of the file for the choices about what it puts between the contents of the selected objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to do something entirely different with the result, outside AutoCAD, you could use one of &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext&lt;/STRONG&gt;&lt;/FONT&gt;'s commands to combine things in the order you want, and then open that result in the Mtext editor and Copy its content out to Paste into whatever program you like.&amp;nbsp; Then Undo back to where the original pieces return to their places.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Sep 2018 00:30:37 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-09-03T00:30:37Z</dc:date>
    <item>
      <title>select the text objects using polyline strike-through</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240268#M100190</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would like to&amp;nbsp;select the text objects&amp;nbsp;using&amp;nbsp;polyline&amp;nbsp;strike-through. after select the texts, copy and past on notepad/word/excel in the same order. Is it possible ? please help me any LISP.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 12:54:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240268#M100190</guid>
      <dc:creator>geoferoze</dc:creator>
      <dc:date>2018-09-02T12:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: select the text objects using polyline strike-through</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240284#M100191</link>
      <description>&lt;P&gt;Have you tried using SELECT - Fence option... If you want to do it thorugh LWPOLYLINE - you should extract vertices with (setq ptlist (mapcar 'cdr (vl-remove-if '(lambda ( x ) (/= (car x) 10)) (entget lw)))) ; lw-LWPOLYLINE ename; and then pass that list of points through (ssget "_F" ptlist '((0 . "TEXT"))) to get selection set with TEXT entities... Then you should iterate through that sel. set and obtain each text string (setq str (cdr (assoc 1 (entget txt)))) ; txt-TEXT ename... After you collect each text string and construct coresponding list of strings you should iterate thorugh that list and write each string using (write-line str file) ; str- string in double quotes; file- opened file variable - you open it for writing by (setq file (open "c:\\some folder\\some file.txt" "w")) - "w" - writing... After you process each string you finally close opened file variable with (close file)...&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 13:13:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240284#M100191</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2018-09-02T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: select the text objects using polyline strike-through</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240761#M100192</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5972109"&gt;@geoferoze&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to&amp;nbsp;select the text objects&amp;nbsp;using&amp;nbsp;polyline&amp;nbsp;strike-through. after select the texts, copy and past on notepad/word/excel in the same order.&amp;nbsp;….&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't say what you want to then do with the pasted-in-same-order result.&amp;nbsp; If, by chance, you want to then paste that resulting combination back into the drawing&amp;nbsp;in an Mtext object, you can use &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext.lsp&lt;/STRONG&gt;&lt;/FONT&gt;, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/combine-multiple-mtext-into-1-mtext/m-p/3114932/highlight/true#M298314" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;. &amp;nbsp; One of its differences from the &lt;FONT color="#000000"&gt;TXT2MTXT&lt;/FONT&gt; command is that &lt;EM&gt;the order of selection determines the order of the joined-together result&lt;/EM&gt;, rather than the relative positions of the selected objects.&amp;nbsp; No need for a Polyline strike-through object to define the order -- just pick them in the order you want.&amp;nbsp; See the description at the top of the file for the choices about what it puts between the contents of the selected objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to do something entirely different with the result, outside AutoCAD, you could use one of &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext&lt;/STRONG&gt;&lt;/FONT&gt;'s commands to combine things in the order you want, and then open that result in the Mtext editor and Copy its content out to Paste into whatever program you like.&amp;nbsp; Then Undo back to where the original pieces return to their places.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 00:30:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240761#M100192</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-03T00:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: select the text objects using polyline strike-through</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240991#M100193</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5972109"&gt;@geoferoze&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;I would like to&amp;nbsp;select the text objects&amp;nbsp;using&amp;nbsp;polyline&amp;nbsp;strike-through. after select the texts, copy and past on notepad/word/excel in the same order.&amp;nbsp;….&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't say what you want to then do with the pasted-in-same-order result.&amp;nbsp; If, by chance, you want to then paste that resulting combination back into the drawing&amp;nbsp;in an Mtext object, you can use &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext.lsp&lt;/STRONG&gt;&lt;/FONT&gt;, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/combine-multiple-mtext-into-1-mtext/m-p/3114932/highlight/true#M298314" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;. &amp;nbsp; One of its differences from the &lt;FONT color="#000000"&gt;TXT2MTXT&lt;/FONT&gt; command is that &lt;EM&gt;the order of selection determines the order of the joined-together result&lt;/EM&gt;, rather than the relative positions of the selected objects.&amp;nbsp; No need for a Polyline strike-through object to define the order -- just pick them in the order you want.&amp;nbsp; See the description at the top of the file for the choices about what it puts between the contents of the selected objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to do something entirely different with the result, outside AutoCAD, you could use one of &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtext&lt;/STRONG&gt;&lt;/FONT&gt;'s commands to combine things in the order you want, and then open that result in the Mtext editor and Copy its content out to Paste into whatever program you like.&amp;nbsp; Then Undo back to where the original pieces return to their places.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Many thanks for your response!&lt;/P&gt;&lt;P&gt;OneMtext.lsp is working good. Actually the picking of text in order means one by one is time consuming. In this application,&amp;nbsp; is there any way to pick the text by dragging line over the text?&amp;nbsp;&lt;/P&gt;&lt;P&gt;By&lt;/P&gt;&lt;P&gt;Feroze Khan&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 05:14:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8240991#M100193</guid>
      <dc:creator>geoferoze</dc:creator>
      <dc:date>2018-09-03T05:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: select the text objects using polyline strike-through</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8241845#M100194</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5972109"&gt;@geoferoze&lt;/a&gt;&amp;nbsp;wrote:
&lt;P class="1535983805957"&gt;….&lt;/P&gt;
&lt;P&gt;OneMtext.lsp is working good. Actually the picking of text in order means one by one is time consuming. In this application,&amp;nbsp; is there any way to pick the text by dragging line over the text?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the attached &lt;FONT color="#000000"&gt;&lt;STRONG&gt;OneMtextF.lsp&lt;/STRONG&gt;&lt;/FONT&gt; -- the &lt;FONT color="#000000"&gt;&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/FONT&gt; is for &lt;FONT color="#000000"&gt;&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/FONT&gt;ence, because of your specific request, but it's not limited to that.&amp;nbsp; See comments at the top of the file for how the order in the result is determined.&amp;nbsp; It lets you pick one at a time as with the original routine, but also allows &lt;EM&gt;any and all&lt;/EM&gt;&amp;nbsp; selection option(s), including your requested &lt;FONT color="#000000"&gt;&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/FONT&gt;ence selection [which you must ask for as an option in the object-selection process].&amp;nbsp; The nature of returned order with Fence selection requires the reversing that causes it to use reverse drawing order with other selections [such as by Window/Crossing]; I suppose it could be altered to use positional relationship, as TXT2MTXT does, but that wouldn't require a custom routine unless you need it to take both Text and Mtext originals [which TXT2MTXT doesn't].&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:21:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-the-text-objects-using-polyline-strike-through/m-p/8241845#M100194</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-03T14:21:38Z</dc:date>
    </item>
  </channel>
</rss>

