<?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: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773920#M33976</link>
    <description>&lt;P&gt;OK, then you need no help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a tip for you. If you learn to use&amp;nbsp;(&lt;STRONG&gt;dumpallproperties&lt;/STRONG&gt; (car (entsel))) and&amp;nbsp;&lt;STRONG&gt;get/setpropertyvalue&lt;/STRONG&gt; functions&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-A65FBCCF-CC5D-47E8-9117-D577D9CB9D8A" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;you can simplify your code&amp;nbsp;&lt;SPAN&gt;tremendously.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 19:13:39 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2023-02-22T19:13:39Z</dc:date>
    <item>
      <title>Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773216#M33972</link>
      <description>&lt;P&gt;Please help, I am wanting a lisp routine that can do the following through a separate script without user input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Check for name of Dynamic block in drawing (could be one of many names, all block names will have a state in the name)&lt;/P&gt;&lt;P&gt;2) Set a (setq) based on the state in the above block&lt;/P&gt;&lt;P&gt;3) Get the value of the attribute "Licensee" of the above dynamic block&lt;/P&gt;&lt;P&gt;4) Insert new block based on the state from (2) and the value of (3) at the insertion point of the dynamic block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some lisp ability, so if you can give me a basic lisp or one with descriptions, I can fill in information as required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 15:22:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773216#M33972</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773317#M33973</link>
      <description>&lt;P&gt;Should have put in here that I will work on the script separately. I am currently only seeking the lisp routine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 15:50:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773317#M33973</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T15:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773880#M33974</link>
      <description>&lt;P&gt;Post some dwg sample and explain what you mean by "state in the name"&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:59:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773880#M33974</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-02-22T18:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773902#M33975</link>
      <description>&lt;P&gt;I have attached the current routine that I created. This routine takes user input to select the seal block to be inserted. I want to remove the user input and use the information provided in the attributes of the dynamic block.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CDeSoto_783Q_0-1677092710162.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1180003i261523277F51B0CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CDeSoto_783Q_0-1677092710162.png" alt="CDeSoto_783Q_0-1677092710162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name Examples:&lt;/P&gt;&lt;P&gt;Dynamic Block:&lt;/P&gt;&lt;P&gt;PE Block Stamp 2021 - Louisiana&lt;/P&gt;&lt;P&gt;PE Block Stamp 2021 - Texas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Insertion Blocks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:05:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773902#M33975</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773920#M33976</link>
      <description>&lt;P&gt;OK, then you need no help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a tip for you. If you learn to use&amp;nbsp;(&lt;STRONG&gt;dumpallproperties&lt;/STRONG&gt; (car (entsel))) and&amp;nbsp;&lt;STRONG&gt;get/setpropertyvalue&lt;/STRONG&gt; functions&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-A65FBCCF-CC5D-47E8-9117-D577D9CB9D8A" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;you can simplify your code&amp;nbsp;&lt;SPAN&gt;tremendously.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:13:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773920#M33976</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-02-22T19:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773958#M33977</link>
      <description>&lt;P&gt;I do need help. I am not sure how to query the dynamic block for attribute values to take the place of the user input variables. What I am trying to accomplish is for the dynamic block to change visibility, which is does with the routine, then insert the new block at the insertion point of the dynamic block (PE BLOCK STAMP *). I can input the values and variables as required in the routine. I just can't write the routine itself to accomplish those things.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:29:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773958#M33977</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773972#M33978</link>
      <description>&lt;P&gt;Told you, with (getpropertyvalue ename "&lt;SPAN&gt;Licensee&lt;/SPAN&gt;") it's that simple.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:38:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773972#M33978</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-02-22T19:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773978#M33979</link>
      <description>&lt;P&gt;Okay, I will make that change. Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:39:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11773978#M33979</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T19:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11774005#M33980</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CDeSoto_783Q_0-1677095125227.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1180011i5843BB8417490F53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CDeSoto_783Q_0-1677095125227.png" alt="CDeSoto_783Q_0-1677095125227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I input the code as shown, but I am getting "error: ADS request error"&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:46:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11774005#M33980</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-02-22T19:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11774046#M33981</link>
      <description>&lt;P&gt;Just wondering whether you actually saved the entity name of your block in that ename variable.&lt;/P&gt;
&lt;P&gt;Anyways, pretty sure that you'll figure it out.&lt;/P&gt;
&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:59:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11774046#M33981</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2023-02-22T19:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11830255#M33982</link>
      <description>&lt;P&gt;I thought I got an email asking if I haad figured this out. I have not, and not had much time to look at it honestly. I would greatly appreciate some more help on how to call this exactly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 00:57:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11830255#M33982</guid>
      <dc:creator>CDeSoto_783Q5NH6S8XS</dc:creator>
      <dc:date>2023-03-18T00:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block Attribute Value to string and insertion of new block at dynamic block insertion point</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11831389#M33983</link>
      <description>&lt;P&gt;Get a copy of Lee-mac dynamic block properties lisp. It does not use get &amp;amp; set property, rather VL to get properties etc. Visibilty is one of the functions.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 23:43:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamic-block-attribute-value-to-string-and-insertion-of-new/m-p/11831389#M33983</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2023-03-18T23:43:05Z</dc:date>
    </item>
  </channel>
</rss>

