<?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: script to copy a text to clipboard and paste it to an attribute in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228591#M117853</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;I'm looking at the code and surely many things are beyond my knowledge; but one thing I dare to ask is what is the purpose of (-4 . "&amp;gt;=,&amp;gt;=,*") and (-4 . "&amp;lt;=,&amp;lt;=,*").&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-C6A7FC58-7A07-4650-9D59-12CAFD194FDA-htm.html" target="_blank"&gt;Equality and Conditional Functions Reference (AutoLISP)&lt;/A&gt;&amp;nbsp;&amp;lt; for light reading&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; (-4 . "&amp;gt;=,&amp;gt;=,*")
 (10 1338.0 18.0 0.0)
 (-4 . "&amp;lt;=,&amp;lt;=,*")
 (10 1364.0 26.0 0.0))))

      (&amp;gt;= 1338.0) &amp;lt;-- X Coordinate
More than or Equal the value of X position on a point coordinate
      (&amp;gt;= 18.0)   &amp;lt;-- Y Coordinate
More than  or Equal the value of Y position on a point coordinate

      (&amp;lt;= 1364.0) &amp;lt;-- X Coordinate
Less than or Equal the value of X position on a point coordinate
    (&amp;lt;= 26.0)   &amp;lt;-- Y Coordinate
Less than  or Equal the value of Y position on a point coordinate					      

      (* 0.0)     &amp;lt;-- Z Coordinate
      (* 0.0)	  &amp;lt;-- Z Coordinate&lt;BR /&gt;
Match any value for Z position on a point coordinate

Basically any coordinate between
(1338.0 18.0 0.00)
(1364.0 26.0 0.00)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Hope it makes sense&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 14:07:47 GMT</pubDate>
    <dc:creator>pbejse</dc:creator>
    <dc:date>2017-07-14T14:07:47Z</dc:date>
    <item>
      <title>script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7220958#M117842</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m writing a script to copy a text to clipboard then paste it into an attribute of a block. This will repeat in hundreds plans. The text will be in the same location so I use its coordination to catch it.&amp;nbsp;The problem is that it always stops at the 3rd line (1351,22 coordinate of the text). I guess it doesn’t regonize _selall (select all) or other reasons. I am a beginner of script and lisp. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;; copy text from old Mtext to clipboard
_mtextedit
1351,22
_selall
_copyclip
(command)
;
;paste it to attribute
-attedit
o
FR_ATTR-****
FEUILLET

1320,30
1365,15
1320,30
1365,15

V
_.PASTECLIP

_Qsave
_close&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jul 2017 00:07:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7220958#M117842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T00:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7221308#M117843</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I’m writing a script to copy a text to clipboard then paste it into an attribute of a block. This will repeat in hundreds plans. The text will be in the same location so I use its coordination to catch it.&amp;nbsp;The problem is that it always stops at the 3rd line (1351,22 coordinate of the text). I guess it doesn’t regonize _selall (select all) or other reasons. I am a beginner of script and lisp. Any help would be appreciated.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is that whereabouts &amp;nbsp;1551,22 or exactly at that point?&lt;/P&gt;
&lt;P&gt;The value at clipboard will be assigned to 4 attribute tags &amp;nbsp;&amp;lt; FEUILLET &amp;gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can write a short code to run in conjunction with your script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 05:58:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7221308#M117843</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-12T05:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7222506#M117844</link>
      <description>&lt;P&gt;The exact point is (1351.0687, 22.0174)&lt;/P&gt;&lt;P&gt;yes, the attribute tag is FEUILLET&lt;/P&gt;&lt;P&gt;We works with French version, so there might be some words in french.&lt;/P&gt;&lt;P&gt;Thanks for your helop.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:30:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7222506#M117844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7222954#M117845</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;The exact point is (1351.0687, 22.0174)...&lt;/P&gt;
&lt;P&gt;Thanks for your helop.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ok then, I will work on this tomorrow, Windows update messed up my porgramlicense for Both Civil 3d and Autocad&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hang in there&amp;nbsp;&lt;SPAN&gt;hifrank001.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 16:47:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7222954#M117845</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-12T16:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7224780#M117846</link>
      <description>&lt;P&gt;Source MTEXT &amp;lt;--- From here , to here ---&amp;gt;Attribute block &amp;nbsp;on the same drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is the case then we wont be needing the clipboard when using lisp program with script. We can add more filter to select the MTEXT, like layers. even knowing the height of the MTEXT would help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this code&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:demo  (/ theMtextAtAGivenCoordinate theAttributeBlock i)

      (if (and
                (setq theMtextAtAGivenCoordinate
                           (ssget &lt;STRONG&gt;"_X"&lt;/STRONG&gt;
                                  '((0 . "MTEXT") (10 1551.0 22.00 0.0))))
                (setq theMtextAtAGivenCoordinate
                           (ssname theMtextAtAGivenCoordinate 0))
                (setq theMtextAtAGivenCoordinate
                           (cdr (assoc 1 (entget theMtextAtAGivenCoordinate))))
                (setq theAttributeBlock
                           (ssget "_X"  '((0 . "INSERT")
                                    (66 . 1) (2 . "FR_ATTR-XX")))))
            (repeat (setq i (sslength theAttributeBlock))
                  (foreach atb
                         (vlax-invoke
                               (vlax-ename-&amp;gt;vla-object
                                     (ssname theAttributeBlock
                                             (setq i (1- i))))
                               'GetATtributes)
                        (if (eq (vla-get-tagstring atb) "FEUILLET")
                              (vla-put-textstring  atb
                                    theMtextAtAGivenCoordinate)))
                  )
            )
      )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;theMtextAtAGivenCoordinate variable initial value if not nil is a selection set.&lt;/P&gt;
&lt;P&gt;There are a couple of ways to to a selection using a point, one is shown on the code above ("X"), another is using "C" and a point list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setq theMtextAtAGivenCoordinate
                           (ssget &lt;STRONG&gt;"C"&lt;/STRONG&gt; '(&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;1551.0&lt;/FONT&gt; &lt;FONT color="#993300"&gt;22.00&lt;/FONT&gt;&lt;/STRONG&gt; 0.0) '(&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;1552.0&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#993300"&gt;&lt;STRONG&gt;50.00&lt;/STRONG&gt;&lt;/FONT&gt; 0.0)
                                  '((0 . "MTEXT") )))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem is o&lt;SPAN&gt;nly objects visible in the drawing area at the time of selection will be selected by this method.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(nentselp &lt;FONT color="#0000FF"&gt;'&lt;STRONG&gt;(1551.00 22.00)&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/PRE&gt;
&lt;P&gt;but this will depend if the part of the object is at a given point, though one can increase the size of pickbox for a bigger range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;........&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;AND back again to ssget "_X" , you can add range filter to make "X" behave like "C" minus the restriction of being&amp;nbsp;visible in the drawing area&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setq ss (ssget "_X" '((0 . "MTEXT") (-4 .&lt;STRONG&gt; "&amp;gt;=,&amp;gt;=,*"&lt;/STRONG&gt;) (10 &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;1551.0&lt;/FONT&gt; &lt;FONT color="#808000"&gt;22.0&lt;/FONT&gt; &lt;/STRONG&gt;0.0)(-4 . &lt;STRONG&gt;"&amp;lt;=,&amp;lt;=,*"&lt;/STRONG&gt;)
                           				  (10 &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;1600.0&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#808000"&gt;&lt;STRONG&gt;50.0&lt;/STRONG&gt; &lt;/FONT&gt;0.0) )))&lt;/PRE&gt;
&lt;P&gt;And you can even add the layer name there &amp;nbsp;(8 . "MTEXTLAYERName")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now for the script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(c:demo) &amp;lt;---or whatever you name the lisp program
_Qsave
_close&lt;/PRE&gt;
&lt;P&gt;Play around with the code, and see what works for you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Happy coding.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pBe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 06:32:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7224780#M117846</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-13T06:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7225646#M117847</link>
      <description>&lt;P&gt;cool, I'll test it and accept it as a solution.&lt;/P&gt;&lt;P&gt;Thanks a lot for the attentive help.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7225646#M117847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T12:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7226208#M117848</link>
      <description>&lt;P&gt;Hello, pBe,&lt;/P&gt;&lt;P&gt;I tested the codes and it didn’t go through; my knowledge of lisp is very primary so maybe I didn’t process it properly. A simple dwg is attached and if possible, please give it a try.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The block name has, T-i-t, the three letters at the end instead of xx, I assume the website has it changed automatically by sensitive word control.&lt;/LI&gt;&lt;LI&gt;The entity is Text instead of Mtext&lt;/LI&gt;&lt;LI&gt;It`s in paper space.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:30:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7226208#M117848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T15:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7227059#M117849</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Hello, pBe,&lt;/P&gt;
&lt;P&gt;Note&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The block name has, T-i-t, the three letters at the end instead of xx, I assume the website has it changed automatically by sensitive word control.&lt;/LI&gt;
&lt;LI&gt;The entity is &lt;FONT color="#0000FF"&gt;Text i&lt;/FONT&gt;nstead of &lt;FONT color="#0000FF"&gt;Mtext&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Replace&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setq theMtextAtAGivenCoordinate
                           (ssget "_X"
                                  '((0 . "MTEXT") (10 1551.0 22.00 0.0))))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With&lt;/P&gt;
&lt;PRE&gt;  (setq theMtextAtAGivenCoordinate
                           (ssget "_X" '((0 . &lt;FONT color="#0000FF"&gt;"TEXT"&lt;/FONT&gt;)(410 . &lt;FONT color="#0000FF"&gt;"~Model"&lt;/FONT&gt;)(-4 . "&amp;gt;=,&amp;gt;=,*")
					 (10 1338.0 18.0 0.0)(-4 . "&amp;lt;=,&amp;lt;=,*")
                           		 (10 1364.0 26.0 0.0) )))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(410 . "~Model")&lt;/STRONG&gt;&amp;nbsp;..........Ignore objects in Model Space&lt;BR /&gt;&lt;STRONG&gt;(1338.0 18.0 0.0)&lt;/STRONG&gt;&amp;nbsp;.........Approximate&amp;nbsp;lower left corner of the target TEXT object&amp;nbsp;&lt;BR /&gt; &lt;STRONG&gt;(1364.0 26.0 0.0)&lt;/STRONG&gt;&amp;nbsp;.........&lt;SPAN&gt;Approximate&amp;nbsp;upper right corner of the target TEXT object&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you're all set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 21:17:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7227059#M117849</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-13T21:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228384#M117850</link>
      <description>&lt;P&gt;It works!&lt;/P&gt;&lt;P&gt;I know I can get help here.&lt;/P&gt;&lt;P&gt;I list the entire routine below as a record.&lt;/P&gt;&lt;PRE&gt;(defun c:demo  (/ theMtextAtAGivenCoordinate theAttributeBlock i)

      (if (and
              (setq theMtextAtAGivenCoordinate
                           (ssget "_X" '((0 . "TEXT")(410 . "~Model")(-4 . "&amp;gt;=,&amp;gt;=,*")
					 (10 1338.0 18.0 0.0)(-4 . "&amp;lt;=,&amp;lt;=,*")
                           		 (10 1364.0 26.0 0.0) )))
                (setq theMtextAtAGivenCoordinate
                           (ssname theMtextAtAGivenCoordinate 0))
                (setq theMtextAtAGivenCoordinate
                           (cdr (assoc 1 (entget theMtextAtAGivenCoordinate))))
                (setq theAttributeBlock
                           (ssget "_X"  '((0 . "INSERT")
                                    (66 . 1) (2 . "FR_ATTR-****")))))
            (repeat (setq i (sslength theAttributeBlock))
                  (foreach atb
                         (vlax-invoke
                               (vlax-ename-&amp;gt;vla-object
                                     (ssname theAttributeBlock
                                             (setq i (1- i))))
                               'GetATtributes)
                        (if (eq (vla-get-tagstring atb) "FEUILLET")
                              (vla-put-textstring  atb
                                    theMtextAtAGivenCoordinate)))
                  )
            )
      )&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Jul 2017 12:58:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228384#M117850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228441#M117851</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;It works! |&amp;nbsp;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;I know I can get help here.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Great!! &amp;nbsp;Score one for the team. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &amp;nbsp;&lt;/FONT&gt;&lt;A href="https://emojipedia.org/fisted-hand-sign/" target="_blank"&gt;&lt;span class="lia-unicode-emoji" title=":oncoming_fist:"&gt;👊&lt;/span&gt;&lt;/A&gt;&amp;nbsp;&amp;lt; fist bum &amp;gt; &amp;nbsp;| &amp;nbsp; &amp;nbsp;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;Yes&amp;nbsp;you can&amp;nbsp;&lt;SPAN&gt;hifrank001.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Happy to help&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 13:22:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228441#M117851</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-14T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228479#M117852</link>
      <description>&lt;P&gt;I'm looking at the code and surely many things are beyond my knowledge; but one thing I dare to ask is what is the purpose of (-4 . "&amp;gt;=,&amp;gt;=,*") and (-4 . "&amp;lt;=,&amp;lt;=,*").&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 13:39:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228479#M117852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228591#M117853</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;I'm looking at the code and surely many things are beyond my knowledge; but one thing I dare to ask is what is the purpose of (-4 . "&amp;gt;=,&amp;gt;=,*") and (-4 . "&amp;lt;=,&amp;lt;=,*").&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-C6A7FC58-7A07-4650-9D59-12CAFD194FDA-htm.html" target="_blank"&gt;Equality and Conditional Functions Reference (AutoLISP)&lt;/A&gt;&amp;nbsp;&amp;lt; for light reading&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; (-4 . "&amp;gt;=,&amp;gt;=,*")
 (10 1338.0 18.0 0.0)
 (-4 . "&amp;lt;=,&amp;lt;=,*")
 (10 1364.0 26.0 0.0))))

      (&amp;gt;= 1338.0) &amp;lt;-- X Coordinate
More than or Equal the value of X position on a point coordinate
      (&amp;gt;= 18.0)   &amp;lt;-- Y Coordinate
More than  or Equal the value of Y position on a point coordinate

      (&amp;lt;= 1364.0) &amp;lt;-- X Coordinate
Less than or Equal the value of X position on a point coordinate
    (&amp;lt;= 26.0)   &amp;lt;-- Y Coordinate
Less than  or Equal the value of Y position on a point coordinate					      

      (* 0.0)     &amp;lt;-- Z Coordinate
      (* 0.0)	  &amp;lt;-- Z Coordinate&lt;BR /&gt;
Match any value for Z position on a point coordinate

Basically any coordinate between
(1338.0 18.0 0.00)
(1364.0 26.0 0.00)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Hope it makes sense&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:07:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228591#M117853</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-14T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228677#M117854</link>
      <description>&lt;P&gt;make sense.&lt;/P&gt;&lt;P&gt;Regarding the first number, I know -1 stands for entity name, 0&amp;nbsp;for type, 8 for layer, 62 for color etc.. ; what does -4 here stand for?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:32:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228677#M117854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T14:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy a text to clipboard and paste it to an attribute</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228722#M117855</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://lmgtfy.com/?q=About+Relational+Tests+in+Filter+Lists+for+Selection+Sets" target="_self"&gt;LMGTFY&lt;/A&gt;&amp;nbsp;&amp;lt;---&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:51:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-to-copy-a-text-to-clipboard-and-paste-it-to-an-attribute/m-p/7228722#M117855</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2017-07-14T14:51:39Z</dc:date>
    </item>
  </channel>
</rss>

