<?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: Insert dynamic block with preset xyz &amp;amp; rotate not working in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451520#M145246</link>
    <description>Change the&lt;BR /&gt;"ROTATE" BlockName&lt;BR /&gt;to&lt;BR /&gt;"ROTATE" BlockRotate&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Henrique</description>
    <pubDate>Tue, 23 Dec 2014 14:42:23 GMT</pubDate>
    <dc:creator>hmsilva</dc:creator>
    <dc:date>2014-12-23T14:42:23Z</dc:date>
    <item>
      <title>Insert dynamic block with preset xyz &amp; rotate not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451463#M145245</link>
      <description>For years I have been using the following code to insert blocks with preset x,y,z scales and rotate, then setting attributes to default values.
Here is the old code that worked fine -
(setq BlockName "Test" BlockScale 1 BlockRotate 0)
(vl-cmdf "_INSERT" BlockName "XSCALE" BlockScale "YSCALE" BlockScale "ZSCALE" BlockScale "ROTATE" BlockName)
(command PAUSE)
(while (/= (getvar "CMDACTIVE") 0) (command ""))

Now that I am using dynamic blocks I get the following error -
(vl-cmdf "_INSERT" BlockName "XSCALE" BlockScale "YSCALE" BlockScale "ZSCALE" BlockScale "ROTATE" BlockName)

Point or option keyword required.

Requires numeric distance or second point.

Requires valid numeric angle or second point.</description>
      <pubDate>Tue, 23 Dec 2014 13:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451463#M145245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-23T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dynamic block with preset xyz &amp; rotate not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451520#M145246</link>
      <description>Change the&lt;BR /&gt;"ROTATE" BlockName&lt;BR /&gt;to&lt;BR /&gt;"ROTATE" BlockRotate&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Henrique</description>
      <pubDate>Tue, 23 Dec 2014 14:42:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451520#M145246</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2014-12-23T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dynamic block with preset xyz &amp; rotate not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451590#M145247</link>
      <description>Sorry...that was a typo...it should have been BlockRotate. It still doesn't work.</description>
      <pubDate>Tue, 23 Dec 2014 15:41:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451590#M145247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-23T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dynamic block with preset xyz &amp; rotate not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451591#M145248</link>
      <description>Another quick question. &lt;BR /&gt;Do you know why does my coded come in without the line-returns in this forum?</description>
      <pubDate>Tue, 23 Dec 2014 15:42:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451591#M145248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-23T15:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dynamic block with preset xyz &amp; rotate not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451608#M145249</link>
      <description>&lt;P&gt;The code works as expected on this side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;'why does my coded come in without the line-returns&amp;nbsp;'&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;probably&lt;/SPAN&gt;, you are using HTML, try selecting Rich Text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Henrique&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2014 15:54:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-preset-xyz-amp-rotate-not-working/m-p/5451608#M145249</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2014-12-23T15:54:17Z</dc:date>
    </item>
  </channel>
</rss>

