<?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: Specify insertion.Set text style,height,etc. to extracted block attribute va in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593841#M73063</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time in replying to my concern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it bit tricky, your ssget set mode are for multiple selection, Is the user going to be asked for the position on every selected block? Also if there are more than one attribute? one location prompt per attribute?&lt;/P&gt;&lt;P&gt;-&lt;FONT color="#0000FF"&gt;I only need one block selection for now but it would be a bonus to learn how to do multiple blocks also.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, i want to be asked to pick the position of each block that i want to extract its data.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Location prompt per attribute will be a bonus also but for now, I only have one attribute inside a block.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Basically all you needed from the attribute properties are the string value and rotation, correct?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, I only need the string value and rotation of the attribute then asks me to specify the insertion point. I only have one attribute per block.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sorry for asking too much. I've been searching on google for any reference on how to do it but I cannot find one. As I'm not a programmer, it's very hard for me to learn autolisp. I just started making lisp by the way.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 16:29:53 GMT</pubDate>
    <dc:creator>desmund08</dc:creator>
    <dc:date>2020-06-22T16:29:53Z</dc:date>
    <item>
      <title>Specify insertion.Set text style,height,etc. to extracted block attribute value.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9592223#M73060</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are all doing great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still a beginner in autoLISP and would like to ask for your help on how to add the following&amp;nbsp; in the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Specify the insertion point of the text extracted from a block attribute value which is aligned to the attribute (meaning if the attribute is rotated at 0 degree, the text that will be extracted will be at 0 deg too).&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Set the text style, text justification, text color, text height and text layer to my preference.&lt;/LI&gt;&lt;LI&gt;A command that is incorporated in the program which changes the text height specified in number 2 and the last text height will remain as is unless it will be changed again.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 694px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786170iB71C70FB17DE8CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desmund&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:test (/ a b)
 (vl-load-com)
 
 (if (setq a (ssget '((0 . "INSERT") (66 . 1))))

   (progn
     (repeat (setq i (sslength a))

      (setq b (vlax-ename-&amp;gt;vla-object (ssname a (setq i (1- i)))))

      (foreach x (vlax-invoke b 'getattributes)
        (entmake
          (list
            (cons 0 "TEXT")
            (cons 1 (strcat (vla-get-textstring x) ) )
            (cons 10 (vlax-get x 'textalignmentpoint))
            (cons 40 (vla-get-height x))
            (cons 50 (vla-get-rotation x))
          )
          
        )
      )
    )
   )
 )
(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 20:28:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9592223#M73060</guid>
      <dc:creator>desmund08</dc:creator>
      <dc:date>2020-06-21T20:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9592532#M73061</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm still a beginner in autoLISP and would like to ask for your help on how to add the following&amp;nbsp; in the code below:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Specify the insertion point of the text extracted from a block attribute value which is aligned to the attribute (meaning if the attribute is rotated at 0 degree, the text that will be extracted will be at 0 deg too).&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Set the text style, text justification, text color, text height and text layer to my preference.&lt;/LI&gt;
&lt;LI&gt;A command that is incorporated in the program which changes the text height specified in number 2 and the last text height will remain as is unless it will be changed again.&lt;/LI&gt;
&lt;/OL&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello Desmund, welcome to the forum&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is it bit tricky, your ssget set mode are for multiple selection, Is the user going to be asked for the position on every selected block? Also if there are more than one attribute? one location prompt per attribute?&lt;/LI&gt;
&lt;LI&gt;Basically all you needed from the attribute properties are the string value and rotation, correct?&lt;/LI&gt;
&lt;LI&gt;Which you already have?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Below is an example on how to clone the attributes into text. I use you r posted code as a starting point&lt;/P&gt;
&lt;PRE&gt;(defun c:test (/ a b data)
 (vl-load-com)
  (if (setq a (ssget '((0 . "INSERT") (66 . 1))))
     (repeat (setq i (sslength a))
        (setq b (vlax-ename-&amp;gt;vla-object (ssname a (setq i (1- i)))))
	(foreach x  (vlax-invoke b 'getattributes)
		&lt;FONT color="#0000FF"&gt;(setq data (mapcar '(lambda (At)
                                      (vlax-get x at))
                               '("textstring" "InsertionPoint"
                                 "textalignmentpoint" "height"
                                 "rotation" "StyleName" "Layer"))
                  )&lt;/FONT&gt;
	 (entmake
                 &lt;FONT color="#0000FF"&gt; (append&lt;/FONT&gt;
                        (list
                              (cons 0 "TEXT")&lt;FONT color="#0000FF"&gt;)
                        (mapcar 'cons '(1 10 11 40 50 7 8) data))&lt;/FONT&gt;
	                  )
            )
        )
     )
(princ)
)
&lt;/PRE&gt;
&lt;P&gt;Hopefully you can pick it up from here Desmund&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 04:29:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9592532#M73061</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-06-22T04:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593092#M73062</link>
      <description>&lt;P&gt;Welcome to the Autodesk Community &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great to see you here on LISP forum.&lt;/P&gt;
&lt;P&gt;Hope you will find a solution soon.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 11:51:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593092#M73062</guid>
      <dc:creator>lena.talkhina</dc:creator>
      <dc:date>2020-06-22T11:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593841#M73063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time in replying to my concern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it bit tricky, your ssget set mode are for multiple selection, Is the user going to be asked for the position on every selected block? Also if there are more than one attribute? one location prompt per attribute?&lt;/P&gt;&lt;P&gt;-&lt;FONT color="#0000FF"&gt;I only need one block selection for now but it would be a bonus to learn how to do multiple blocks also.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, i want to be asked to pick the position of each block that i want to extract its data.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Location prompt per attribute will be a bonus also but for now, I only have one attribute inside a block.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Basically all you needed from the attribute properties are the string value and rotation, correct?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, I only need the string value and rotation of the attribute then asks me to specify the insertion point. I only have one attribute per block.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sorry for asking too much. I've been searching on google for any reference on how to do it but I cannot find one. As I'm not a programmer, it's very hard for me to learn autolisp. I just started making lisp by the way.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:29:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593841#M73063</guid>
      <dc:creator>desmund08</dc:creator>
      <dc:date>2020-06-22T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593900#M73064</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, i want to be asked to pick the position of each block that i want to extract its data.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Location prompt per attribute will be a bonus also but for now, I only have one attribute inside a block.&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then you are going about it the wrong way, it can be as simple as this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun c:test	(/ attr pt data)
    (vl-load-com)
    (if
      (and
	(setq attr (car (nentsel "\nSelect Attribute")))
	(eq (cdr (assoc 0 (setq ent (entget attr)))) "ATTRIB")
	(setq data (mapcar '(lambda (p)
			      (assoc p ent)
			    )
			   '(10 1 11 40 50)
		   )
	)
	(setq pt (getpoint (cdar data) "\nPick point for location"))
      )
       (entmake
	 (append (list (cons 0 "TEXT"))
		 (subst (cons 10 pt) (Car data) data)
	 )
       )
    )
  )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you mentioned on your first post.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Set the text style, text justification, text color, text height and text layer to my preference.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;A command that is incorporated in the program which changes the text height specified in number 2 and the last text height will remain as is unless it will be changed again.&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm guesing you will be working on those.&lt;/P&gt;
&lt;P&gt;Come back to us if you need help completing the task&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sorry for asking too much. I've been searching on google for any reference on how to do it but I cannot find one. As I'm not a programmer, it's very hard for me to learn autolisp. I just started making lisp by the way.&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Its a good start , good for you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:57:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9593900#M73064</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-06-22T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9594385#M73065</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&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/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Yes, i want to be asked to pick the position of each block that i want to extract its data.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Location prompt per attribute will be a bonus also but for now, I only have one attribute inside a block.&lt;/FONT&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then you are going about it the wrong way, it can be as simple as this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:test	(/ attr pt data)
    (vl-load-com)
    (if
      (and
	(setq attr (car (nentsel "\nSelect Attribute")))
	(eq (cdr (assoc 0 (setq ent (entget attr)))) "ATTRIB")
	(setq data (mapcar '(lambda (p)
			      (assoc p ent)
			    )
			   '(10 1 11 40 50)
		   )
	)
	(setq pt (getpoint (cdar data) "\nPick point for location"))
      )
       (entmake
	 (append (list (cons 0 "TEXT"))
		 (subst (cons 10 pt) (Car data) data)
	 )
       )
    )
  )&lt;/LI-CODE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mentioned on your first post.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Set the text style, text justification, text color, text height and text layer to my preference.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;A command that is incorporated in the program which changes the text height specified in number 2 and the last text height will remain as is unless it will be changed again.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guesing you will be working on those.&lt;/P&gt;&lt;P&gt;Come back to us if you need help completing the task&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sorry for asking too much. I've been searching on google for any reference on how to do it but I cannot find one. As I'm not a programmer, it's very hard for me to learn autolisp. I just started making lisp by the way.&lt;/FONT&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Its a good start , good for you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the prompt response. I appreciate it much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last request,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code above works perfectly but I don't want the attribute to be selected but the block instead.&lt;/P&gt;&lt;P&gt;I will select the block (not the attribute) and produces same output as the code below. Sorry I still don't have much knowledge on autolisp.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 20:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9594385#M73065</guid>
      <dc:creator>desmund08</dc:creator>
      <dc:date>2020-06-22T20:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9594490#M73066</link>
      <description>&lt;LI-CODE lang="general"&gt;(defun c:test2	(/ ss attr pt data otpye)
    (vl-load-com)
	(if
		(setq ss (ssget  '((0 . "INSERT") (66 . 1))))      
		(repeat (setq i (sslength ss))
			(setq attrb (ssname ss (setq i (1- i))))
		  	(redraw attrb 3)
			(while (not (eq (setq otpye (cdr (assoc 0
					(setq e (entget attrb))))) "SEQEND"))
			       (if (eq "ATTRIB" otpye)
				 	(progn
					  (setq data (mapcar '(lambda (p)
					      (assoc p e) ) '(10 1 11 40 50)))
					  (setq pt (getpoint (cdar data) "\nPick point for location"))
					  (entmake
						 (append (list (cons 0 "TEXT"))
							 (subst (cons 10 pt) (Car data) data)
						 )
					       )
					  )
				 )
			  (setq attrb (entnext attrb))
			  )
		  (redraw (ssname ss i) 4)
		  )
	)
(princ)
)&lt;/LI-CODE&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 21:46:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9594490#M73066</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-06-22T21:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9599283#M73067</link>
      <description>&lt;P&gt;Thanks again for your help&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;. Hope I can do the rest by myself. Is there any good reference you know to hasten my learning in autolisp?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 18:52:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9599283#M73067</guid>
      <dc:creator>desmund08</dc:creator>
      <dc:date>2020-06-24T18:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Specify insertion.Set text style,height,etc. to extracted block attribute va</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9600834#M73068</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9301519"&gt;@desmund08&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks again for your help&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;.&lt;FONT color="#0000FF"&gt; Hope I can do the rest by myself&lt;/FONT&gt;. &lt;FONT color="#FF0000"&gt;Is there any good reference you know to hasten my learning in autolisp?&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;You are welcome.&lt;FONT color="#0000FF"&gt; of course you can, Let us know if you hit a snag, we'll be here to help you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;A href="https://www.afralisp.net/index.php" target="_blank" rel="noopener"&gt;Learn AutoLISP for AutoCAD productivity&lt;/A&gt;&amp;nbsp; &amp;lt;-- this is where I started.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#000000"&gt;Cheers&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 10:18:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/specify-insertion-set-text-style-height-etc-to-extracted-block/m-p/9600834#M73068</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-06-25T10:18:38Z</dc:date>
    </item>
  </channel>
</rss>

