<?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: LISP Routine - Insert Block by Defining Attribute Values &amp;amp; Custom Parameters in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10480965#M58110</link>
    <description>&lt;P&gt;The error is not in DTR but your put dynamic properties, look at Lee-mac dynamic properties.lsp&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(LM:setdynpropvalue (vlax-ename-&amp;gt;vla-object  (entlast)) "DoorWidth"  x)
(LM:setdynpropvalue (vlax-ename-&amp;gt;vla-object  (entlast)) "DoorHeight"  y)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 01:54:52 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2021-07-20T01:54:52Z</dc:date>
    <item>
      <title>LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10468796#M58096</link>
      <description>&lt;P&gt;Hello everyone, I have a couple of blocks that I use quite frequently, therefore I want to create a LISP command that inserts block by defining att values and custom parameters (position x1, y1, angle1 etc.) as constants.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in figure1, for example, I want to insert my BLOCK1 with (numbers are just for example, of course)=&amp;gt;&lt;/P&gt;&lt;P&gt;Rotation=0&lt;/P&gt;&lt;P&gt;Scale=1&lt;/P&gt;&lt;P&gt;Base Point=&amp;nbsp;@(0, -10)&lt;/P&gt;&lt;P&gt;Repeat= YES&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emreakyazicigsl_0-1626281306951.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/941414i53955482A6E23F97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emreakyazicigsl_0-1626281306951.png" alt="emreakyazicigsl_0-1626281306951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom:&lt;/P&gt;&lt;P&gt;Angle1=0, Angle2:0,&lt;/P&gt;&lt;P&gt;Position1X= 9, Position1Y : 3&lt;/P&gt;&lt;P&gt;Position2X= 0, Position2Y : 53.5&lt;/P&gt;&lt;P&gt;Position3X=20, Position3Y : 20&lt;/P&gt;&lt;P&gt;Position4X=10, Position4Y : 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attributes:&lt;/P&gt;&lt;P&gt;TAG10=VALUE10&lt;/P&gt;&lt;P&gt;TAG9=VALUE9&lt;/P&gt;&lt;P&gt;TAG8=VALUE8&lt;/P&gt;&lt;P&gt;TAG7=VALUE7&lt;/P&gt;&lt;P&gt;TAG6=VALUE6&lt;/P&gt;&lt;P&gt;TAG5=VALUE5&lt;/P&gt;&lt;P&gt;TAG4=VALUE4&lt;/P&gt;&lt;P&gt;TAG3=VALUE3&lt;/P&gt;&lt;P&gt;TAG2=VALUE2&lt;/P&gt;&lt;P&gt;TAG1=VALUE1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as constants. Of course, after one example, I'll define them for each of my block and case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to define these attributes and custom parameters for a single block insertion, not want to change all BLOCK1 attributes and custom parameters. Right now, I'm only use these kinds of simple commands:&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;LI-CODE lang="general"&gt;(defun c:INS123()
(command "-insert" "BLOCK1" "B" "0, -10" "S" "1" "R" "180" "RE" "Y"))&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;If you can help me, that would be amazing. Thanks for your attention.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 16:49:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10468796#M58096</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-14T16:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10470924#M58097</link>
      <description>&lt;P&gt;any help?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 12:12:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10470924#M58097</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-15T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10471098#M58098</link>
      <description>&lt;P&gt;A good start would be posting your block1 as dwg.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 13:12:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10471098#M58098</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-07-15T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10471644#M58099</link>
      <description>&lt;P&gt;Oh, sorry. Here you are&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 15:52:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10471644#M58099</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-15T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10472383#M58100</link>
      <description>&lt;P&gt;Fill in the rest of the values.&lt;/P&gt;
&lt;P&gt;Use a spacebar to repeat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)

(defun c:INS123 ( / o dynprops atvalues)

  (command-s "_.-insert" "BLOCK1" "_b" "0,-10" "_s" 1 "_r" 180 pause)

  (setq dynprops '(
		   ("Position4 X" . 10)			; all dyn-values are numbers - without ""
		   ("Position4 Y" . 10)
		   )
	
	atvalues '(
		   ("TAG4" . "10")                  	; case-sensitive !!
		   ("TAG7" . "SIL-BENI-new")		; all atts are "strings" - with ""
		   ))
	

  (setq o (vlax-ename-&amp;gt;vla-object (entlast)))
  (LM:setdynprops o dynprops)
  (LM:vl-setattributevalues o atvalues)
  (princ)
)

;; Set Dynamic Block Properties  -  Lee Mac
;; Modifies values of Dynamic Block properties using a supplied association list.
;; blk - [vla] VLA Dynamic Block Reference object
;; lst - [lst] Association list of (( . ) ... )
;; Returns: nil

(defun LM:setdynprops ( blk lst / itm )
    (setq lst (mapcar '(lambda ( x ) (cons (strcase (car x)) (cdr x))) lst))
    (foreach x (vlax-invoke blk 'getdynamicblockproperties)
        (if (setq itm (assoc (strcase (vla-get-propertyname x)) lst))
            (vla-put-value x (vlax-make-variant (cdr itm) (vlax-variant-type (vla-get-value x)))))))


;; Set Attribute Values  -  Lee Mac
;; Sets attributes with tags found in the association list to their associated values.
;; blk - [vla] VLA Block Reference Object
;; lst - [lst] Association list of (( . ) ... )
;; Returns: nil

(defun LM:vl-setattributevalues ( blk lst / itm )
    (foreach att (vlax-invoke blk 'getattributes)
        (if (setq itm (assoc (vla-get-tagstring att) lst))
            (vla-put-textstring att (cdr itm)))))
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:13:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10472383#M58100</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-07-15T21:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10475476#M58101</link>
      <description>&lt;P&gt;A couple of comments you can get tagnames of the block, like wise you can get dynamic properties name, so can pop a DCL straight after inserting block giving you the oppurtunity to enter values. This is a global type answer for any block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or can ask 1st then insert and update. I use multi getvals.lsp. You can set default values, I have used this to set visibilty states.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to provide more info.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1626486012290.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942450iFE54E6F1CDC6778C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1626486012290.png" alt="SeaHaven_0-1626486012290.png" /&gt;&lt;/span&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 01:40:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10475476#M58101</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-07-17T01:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10476455#M58102</link>
      <description>&lt;P&gt;Oh thank you. It's almost perfect, but I had a problem on dynprops, I should set dynprop angle but I'm only able to define as radiants. I need to do it in degrees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my second problem is, my position4 controls, position3 and position2. Therefore, I tried to define Pos4 first, then pos2 and pos3. Normally I do that and get normal results, pos2 and pos3 does not affect pos4 but pos4 affects pos3 and pos2. But it was not the expected result (code1 vs. figure1.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emreakyazicigsl_0-1626542161591.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942531i640373B2DE3485C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emreakyazicigsl_0-1626542161591.png" alt="emreakyazicigsl_0-1626542161591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emreakyazicigsl_1-1626542314630.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942534i077757A45E0B7192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emreakyazicigsl_1-1626542314630.png" alt="emreakyazicigsl_1-1626542314630.png" /&gt;&lt;/span&gt;&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;LI-CODE lang="general"&gt;;Code1:
		   ("Position4 X" . 30)			
		   ("Position4 Y" . 30)

		   ("Position2 X" . 1)			
		   ("Position2 Y" . 2)

		   ("Position3 X" . 3)			
		   ("Position3 Y" . 4)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 17:21:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10476455#M58102</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-17T17:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10476458#M58103</link>
      <description>&lt;P&gt;My aim is defining all the dyns and atts before each block that I'm planning to use, and assign them to shortcuts and put them with prepared atts precisely. Therefore, an input process for each block would decrease my efficiency. Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 17:24:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10476458#M58103</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-17T17:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10477017#M58104</link>
      <description>&lt;P&gt;RTD and DTR very old radian &amp;lt;--&amp;gt; degrees defuns every person who does lisp should know about these. Hence did not post find them.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jul 2021 05:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10477017#M58104</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-07-18T05:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10477874#M58105</link>
      <description>&lt;P&gt;I tried but couldn't find anything that solves my problem. I tried to &lt;STRONG&gt;setq Ang1 (&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;(5* pi (/&amp;nbsp; 180.0)&lt;/STRONG&gt; and redefine the line as&amp;nbsp;&lt;STRONG&gt;("Angle1" . Ang1)&lt;/STRONG&gt; but that didn't help. On the other hand, if you don't classify the other question as easy as everybody knows, can you help me about that? Since the angle is last custom dynprop, change of angle ruins my other position inputs. How can I solve that? Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emreakyazicigsl_0-1626639046965.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942665i98639811583658A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emreakyazicigsl_0-1626639046965.png" alt="emreakyazicigsl_0-1626639046965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jul 2021 20:13:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10477874#M58105</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-18T20:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478125#M58106</link>
      <description>&lt;P&gt;The two defuns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;;The dtr function converts degrees to radians
;The rtd function converts radians to degrees
(defun dtr (a)
(* pi (/ a 180.0))
)
;
(defun rtd (a)
(/ (* a 180.0) pi)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats a typo&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;setq Ang1 (&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;(5* pi (/&amp;nbsp; 180.0)&amp;nbsp;&amp;nbsp;see dtr above (setq ang1 (dtr ang))&lt;/STRONG&gt;&lt;/SPAN&gt;&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>Mon, 19 Jul 2021 00:18:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478125#M58106</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-07-19T00:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478156#M58107</link>
      <description>&lt;P&gt;Thanks for your help but I still get the error below from command bar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:41 ( / o dynprops atvalues)

(defun dtr (a)
(* pi (/ a 180.0))
)

(setq ang1 (dtr 20.0))


  (command-s "_.-insert" "BLOCKNAME1" "_b" "0,-10" "_s" 1 "_r" 0)
  (setq dynprops '(

		   ("Angle1" . ang1)
...
...&lt;/LI-CODE&gt;&lt;LI-CODE lang="general"&gt;; error: lisp value has no coercion to VARIANT with this type:  ANG1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 00:46:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478156#M58107</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-19T00:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478641#M58108</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10060062"&gt;@emreakyazici&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just to be clear. Your block is such a mess that I can't even tell how it suppose to work. Sorry, I am not going to spend hours investigating whether the code is bad (probably not) or your block definition (very likely).&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: -43px; top: 113.358px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jul 2021 07:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10478641#M58108</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-07-19T07:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10480210#M58109</link>
      <description>&lt;P&gt;I redefined and changed the layers, name of blocks/tags/values in order to not break confidentiality, didn't spent lots of time. Besides this angle situation and order of props, your code is excellent and I'm grateful to you. If I annoyed you, I'm sorry.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10480210#M58109</guid>
      <dc:creator>emreakyazici</dc:creator>
      <dc:date>2021-07-19T18:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: LISP Routine - Insert Block by Defining Attribute Values &amp; Custom Parameters</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10480965#M58110</link>
      <description>&lt;P&gt;The error is not in DTR but your put dynamic properties, look at Lee-mac dynamic properties.lsp&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(LM:setdynpropvalue (vlax-ename-&amp;gt;vla-object  (entlast)) "DoorWidth"  x)
(LM:setdynpropvalue (vlax-ename-&amp;gt;vla-object  (entlast)) "DoorHeight"  y)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 01:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-routine-insert-block-by-defining-attribute-values-amp/m-p/10480965#M58110</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-07-20T01:54:52Z</dc:date>
    </item>
  </channel>
</rss>

