<?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 Cycle through a list of block references at insertion in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909394#M66893</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if it's possible to enter a block that as long as the insertion point hasn't yet been selected - i.e we can still move the block around - allows us to cycle through a list of blocks of our own to choose the most suited for the situation. Someone could argue that why not using visibility states? Well each block is really complex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible?&lt;/P&gt;&lt;P&gt;Would it also be possible to extract the block list from a tab on the Tool Palette?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 12:41:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-02T12:41:56Z</dc:date>
    <item>
      <title>Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909394#M66893</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if it's possible to enter a block that as long as the insertion point hasn't yet been selected - i.e we can still move the block around - allows us to cycle through a list of blocks of our own to choose the most suited for the situation. Someone could argue that why not using visibility states? Well each block is really complex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible?&lt;/P&gt;&lt;P&gt;Would it also be possible to extract the block list from a tab on the Tool Palette?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 12:41:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909394#M66893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-02T12:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909748#M66894</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to explain your question further please. I do not fully understand. It sounds like you want to "insert" a block, but have the ability to select a different block before an insertion point is selected? That is the same thing as merely selecting the correct block. Thus, any typical insert command would work. Can you please explain more?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;~DD&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:25:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909748#M66894</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2020-12-02T14:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909907#M66895</link>
      <description>&lt;P&gt;I'll do my best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine I have a special group of blocks that I'm making available through a Lisp command of my own (these blocks are on the Tool Palette). What I could do is show a list of options in that command to choose the block type, but I think that taking the approach I referred to in my first comment is best because it gives you the visual information about what's the most suited block to insert (a user could use any block depending on the circumstances, everything lies in the user experience).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try to simplify it as much as I can. Imagine these blocks are polygons - which is not the case -. Once I enter my command (say, INSERTMYBLOCK), the user will be presented with a block (not scaling or rotation options) that still has to be inserted. If the user moves it to the theoretical insertion point, they might feel that the default block (the first in the list) is not the best option, so by clicking a button (I thought of the TAB button) they can cycle through the whole list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I knew that somebody could argue why not use visibility states (the dynamic blocks are so complex that I don't see it as an option), but your question is valid too. However, the advantage of my solution is the ease of use, I don't want the user to have to go to the insert button and choose amongst the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it makes sense now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:24:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9909907#M66895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-02T15:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910044#M66896</link>
      <description>&lt;P&gt;Try the attached &lt;STRONG&gt;InsertBlockCycling.lsp&lt;/STRONG&gt; with its &lt;STRONG&gt;IBC&lt;/STRONG&gt; command.&amp;nbsp; First, &lt;FONT color="#0000FF"&gt;&lt;EM&gt;edit the list of Block names&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;in it, for those you want to cycle through, then APPLOAD it.&amp;nbsp; Call up the &lt;STRONG&gt;IBC&lt;/STRONG&gt; command, and the first Block in the list will appear in the middle of the screen, and as soon as you move the cursor, will go to where its insertion point is at the cursor location.&amp;nbsp; Move the cursor around, and the Block will move.&amp;nbsp; Then you can cycle &lt;EM&gt;in either direction&lt;/EM&gt; through the Block names in the list -- press the comma/&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/FONT&gt; key and the Block will change to the &lt;EM&gt;previous&lt;/EM&gt; one in the list [or the last one if currently showing the first one], or press the period/&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/FONT&gt; key and it will change to the &lt;EM&gt;next&lt;/EM&gt; one [or the first one if currently showing the last one].&amp;nbsp; You can continue to cycle with those keys, and move around, until you click the mouse button and the currently-showing Block will be placed.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 16:08:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910044#M66896</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-12-02T16:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910099#M66897</link>
      <description>&lt;P&gt;Hello, this is brilliant! It's exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question, how come the cursor can't snap to any reference point when inserting the block? It's as if they all had disappeared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you recommend any quality online content to learn Auto Lisp properly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 16:28:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910099#M66897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-02T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910176#M66898</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;.... how come the cursor can't snap to any reference point when inserting the block? ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Would you recommend any quality online content to learn Auto Lisp properly?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Object Snaps don't work because it's all based on (grread) which reads only the cursor location, not affected by Object Snap settings.&amp;nbsp; Search for terms like "osnap grread" for several threads discussing the issue.&amp;nbsp;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/569456"&gt;@Lee_Mac&lt;/a&gt;&amp;nbsp;has a &lt;A href="http://www.lee-mac.com/grsnap.html" target="_blank" rel="noopener"&gt;&amp;gt;GrSnap utility&amp;lt;&lt;/A&gt; that could perhaps be worked in -- it could take me a while to get around to figuring out how, but I'll think about it.&amp;nbsp; In the meantime, I suggest placing the Block near where you want it, and immediately picking it and grip-edit moving it by its insertion point to the then-Osnappable location.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;A Search here for things like "AutoLisp tutorial" or "learn AutoLisp" will find &lt;EM&gt;lots&lt;/EM&gt; of threads with lots of suggestions of websites, books, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 16:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910176#M66898</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-12-02T16:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910212#M66899</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;One question, how come the cursor can't snap to any reference point when inserting the block? It's as if they all had disappeared.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one catch about this solution. Big one. And you named it. You won't get back all the drafting tools like osnaps, tracking, polar tracking... the only but limited option is to use&amp;nbsp;&lt;A href="http://www.lee-mac.com/grsnap.html" target="_blank" rel="noopener"&gt;THIS&lt;/A&gt;&amp;nbsp;partial solution from Lee Mac.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, what I can imagine is this being just a menu. Circle &lt;SPAN&gt;through&amp;nbsp;your&amp;nbsp;&lt;/SPAN&gt;block list as much as you need, then you would need to &lt;STRONG&gt;somehow confirm a selected option - it could be by Enter, Spacebar, anything.. but this extra step is necessary&lt;/STRONG&gt;! and then it switches to the classic -INSERT command with supplied block name from your nice menu and then you can place your block with all the drafting features available.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 17:08:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910212#M66899</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-12-02T17:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910264#M66900</link>
      <description>&lt;P&gt;Another possibility, if you would typically want to place them at Osnappable locations:&amp;nbsp; The routine could be made to immediately call up a Move command after the Block is placed, based on the insertion point, then you can take it to the Osnappable location.&amp;nbsp; So it takes a quick double pick for the final location [or a pick and ESCape if you don't want an Osnappable location], rather than a this-is-the-Block-I-want confirmation step.&amp;nbsp; Try the attached [added "O" to the end of the file name].&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 17:32:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9910264#M66900</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-12-02T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9911466#M66901</link>
      <description>&lt;P&gt;Inserting a block then decide change it or keep, would work but would be based on insert point matching a chosen point,&amp;nbsp; then again may need a move&amp;nbsp;as insert point may not be at same location of new block, then repeat etc till finally happy. Using the nice idea of &amp;lt; &amp;gt; to go through a predefined list. This would avoid the use of grread but would be a more basic version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 03:33:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9911466#M66901</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-12-03T03:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9911475#M66902</link>
      <description>&lt;P&gt;Maybe something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot301.png" style="width: 180px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/851455i0F729999C14ECAE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot301.png" alt="screenshot301.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 03:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9911475#M66902</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-12-03T03:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917544#M66903</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my apologies for the late reply, I haven't had a chance to get my hands on my laptop until today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to thank you once again for your great help. I'll test the list file out and give you my feedback asap. If it still needs changing, I will try to figure out how can I get it to work as the way I wanted to. I also have (and want) to do my part!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:43:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917544#M66903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-05T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917562#M66904</link>
      <description>&lt;P&gt;Thank you for the link and for your comments.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:48:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917562#M66904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-05T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917565#M66905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I struggled to understand you at first, but I think it's a great input because the user might insert the wrong block and there might be a need for a block change. Right? However, wouldn't it be better to simply delete the block and insert the one we want again by using the lisp command provided by Kent?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:51:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9917565#M66905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-05T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9920099#M66906</link>
      <description>&lt;P&gt;Kent has offered a excellent solution as you asked for a dragging method of inserting a block and change it the issue being the various insert point of different blocks, when you change your mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The old fashioned way&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;(command "-insert" "yourblockname" pause 1 1 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then ask keep or &amp;gt; &amp;lt; etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/9920099#M66906</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-12-07T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10290842#M66907</link>
      <description>&lt;P&gt;Hello, Kent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created this thread. Once again, thank you for your lisp, it was terrific &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;. I have a couple of questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Block attributes disappear upon insertion. I've tried redefining the block after its insertion but that didn't do the trick. Puzzled. Why is that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) One of my blocks - dynamic - has an alignment parameter but it's not showing when cycling. I guess it has to do with the fact that using grread blocks osnap, dynamic block parameters, etc. Right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to confirm. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 22:02:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10290842#M66907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-04T22:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10291972#M66908</link>
      <description>&lt;P&gt;It wasn't designed with Attributes or Dynamic Blocks in mind.&amp;nbsp; And since it uses (entmakex) instead of an actual INSERT&amp;nbsp;&lt;EM&gt;command&lt;/EM&gt;, it won't prompt for Attributes or dynamic parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On one with Attributes, if after it's in, you double-click on the Block, do you not then get the Attribute editor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the attached &lt;EM&gt;[untested]&lt;/EM&gt;, which, when you pick a point, should delete the drag-around one, stop the (while) loop, and go into a regular INSERT command, leaving you after the 0 rotation to answer whatever other aspects are still needed.&amp;nbsp; You can play around with the command line -- for example, if your Blocks are built for uniform scaling, change this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (command "_.insert" blkname "_non" ins "" "" 0)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;to this [only one scale factor]:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (command "_.insert" blkname "_non" ins "" 0)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Or you could cut off &lt;EM&gt;everything&lt;/EM&gt; after the insertion point, and finish up the command as appropriate, including scale(s) if you might want them other than 1 [or if some but not all are for uniform scaling], and rotation if you might want it other than 0:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (command "_.insert" blkname "_non" ins)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 11:23:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10291972#M66908</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-05-05T11:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle through a list of block references at insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10295865#M66909</link>
      <description>&lt;P&gt;Hello, Kent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank a lot once again, it works like a charm. The only thing I have to fix, though is why the Alignment parameter no longer exists. I'm going to look into it and try to understand problems related to grread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 18:22:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cycle-through-a-list-of-block-references-at-insertion/m-p/10295865#M66909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-06T18:22:41Z</dc:date>
    </item>
  </channel>
</rss>

