<?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: Move anonymous block insertion in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965471#M10086</link>
    <description>&lt;P&gt;i am fairly doubtful you can build an anonymous block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="komondormrex_0-1723967202169.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1399028iB989FC04DC73C838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="komondormrex_0-1723967202169.png" alt="komondormrex_0-1723967202169.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="komondormrex_0-1723967459546.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1399033i7E57C1BCDE586661/image-size/medium?v=v2&amp;amp;px=400" role="button" title="komondormrex_0-1723967459546.png" alt="komondormrex_0-1723967459546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;asterisk IS USED by the operating system.&lt;/P&gt;&lt;P&gt;thence after a "building" of an anonymous block you've crashed autocad.&lt;/P&gt;&lt;P&gt;imo.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2024 07:54:21 GMT</pubDate>
    <dc:creator>komondormrex</dc:creator>
    <dc:date>2024-08-18T07:54:21Z</dc:date>
    <item>
      <title>Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965100#M10084</link>
      <description>&lt;P&gt;I can build an anonymous ("`*U*") block,&lt;/P&gt;&lt;P&gt;and I can entmakex an insertion named 'e' at (setq p0 '(0 0 0))&lt;/P&gt;&lt;P&gt;but when I try to (vl-cmdf "_.move" e "" p0 pause) within the code, AutoCAD crashes.&lt;/P&gt;&lt;P&gt;I can&amp;nbsp;(vl-cmdf "_.move" e "" p0 pause)&amp;nbsp; after the code (without the move) has finished.&lt;/P&gt;&lt;P&gt;Osmode is 0.&lt;/P&gt;&lt;P&gt;The objects within the block are only lines, text, and one lwpolyline.&amp;nbsp; No reactors.&amp;nbsp; No locked layers.&lt;/P&gt;&lt;P&gt;What trick am I missing (gc, regen, vla-update, (setvar "please_behave" 1))?&lt;/P&gt;&lt;P&gt;Should I try using (entlast) instead?&lt;/P&gt;&lt;P&gt;Might my problem be using ACAD2002?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 22:46:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965100#M10084</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-17T22:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965160#M10085</link>
      <description>&lt;P&gt;Why insert block/entmake then move why not ask for correct point use that in&amp;nbsp;insert block/entmake ? Not sure what your trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a pop menu&amp;nbsp;^c^cINSERT ca3ch-1 DRAG \1;;DRAG&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 00:17:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965160#M10085</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-08-18T00:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965471#M10086</link>
      <description>&lt;P&gt;i am fairly doubtful you can build an anonymous block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="komondormrex_0-1723967202169.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1399028iB989FC04DC73C838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="komondormrex_0-1723967202169.png" alt="komondormrex_0-1723967202169.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="komondormrex_0-1723967459546.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1399033i7E57C1BCDE586661/image-size/medium?v=v2&amp;amp;px=400" role="button" title="komondormrex_0-1723967459546.png" alt="komondormrex_0-1723967459546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;asterisk IS USED by the operating system.&lt;/P&gt;&lt;P&gt;thence after a "building" of an anonymous block you've crashed autocad.&lt;/P&gt;&lt;P&gt;imo.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 07:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965471#M10086</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2024-08-18T07:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965818#M10087</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13423916"&gt;@komondormrex&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Entmaking an anonymous block is not a problem.&amp;nbsp; I've been doing it for decades.&lt;/P&gt;&lt;P&gt;It's the MOVE command that prevents AutoCAD from continuing.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;has the answer, I think... Include the positioning with the insertion.&lt;/P&gt;&lt;P&gt;I suppose I could use a (while (not done)(gread ...)) approach to keep changing its insertion point, but I don't think grread obeys any object snaps, the way that MOVE does, not that it should matter, but you must always think about what the user might want.&lt;/P&gt;&lt;P&gt;For you curious lurkers of all levels, one thing I just learned is that once you start entmaking a block definition you must entmake all its parts.&amp;nbsp; Including a vla-add will make an object, but it won't become part of the block definition.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 15:13:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965818#M10087</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-18T15:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965856#M10088</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;So much for that idea.&amp;nbsp; Apparently the INSERT (nor -INSERT) command does not accept anonymous block names, even with the "`" prefix, as in "`*U1."&amp;nbsp; &amp;nbsp;"Invalid block name."&lt;/P&gt;&lt;P&gt;And I certainly don't want to create a named block.&lt;/P&gt;&lt;P&gt;Unless there's another way, grread here we come.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 16:00:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965856#M10088</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-18T16:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965875#M10089</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do not see any problem (i am on R2022) check mine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:test ()
 (entmake (list '(0 . "BLOCK") '(70 . 1) '(2 . "*Uxxx") '(8 . "0")  '(10 0.0 0.0 0.0)))
 (entmake (list '(0 . "circle") '(8 . "0") '(10 5.0 5.0 0.0) '(40 . 1.0)))
 (setq bname (entmake (list '(0 . "ENDBLK"))))
 (setq ent (entmakex (list '(0 . "INSERT") '(8 . "0") (cons '2 bname) (setq p0 (list 10 0.0 0.0 0.0)) '(41 . 1.0) '(42 . 1.0) '(43 . 1.0) '(50 . 0.0))))
 (command "._move" ent "" (cdr p0) pause)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 16:27:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965875#M10089</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-08-18T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965897#M10090</link>
      <description>&lt;P&gt;Crash may be caused by lack of a Block Definition in the Block Table ?&lt;/P&gt;&lt;P&gt;Once you entmake that block 'insert', try moving entlast..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 16:51:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965897#M10090</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-08-18T16:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965926#M10091</link>
      <description>&lt;P&gt;You say: "I can entmakex an insertion named 'e' at (setq p0 '(0 0 0))&lt;/P&gt;&lt;P&gt;but when I try to (vl-cmdf "_.move" e "" p0 pause) within the code, AutoCAD crashes."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'e' would be a Blockname ?.. if so, you would need to select it as an entity or object I would&lt;/P&gt;&lt;P&gt;think, in order to "_.move" e ......... if e = a selection set, entity, then fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECCAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 17:23:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12965926#M10091</guid>
      <dc:creator>ec-cad</dc:creator>
      <dc:date>2024-08-18T17:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966118#M10092</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You are always so helpful.&lt;/P&gt;&lt;P&gt;That's great news but, alas, I can test on only ACAD2002.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confounded_face:"&gt;😖&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 21:13:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966118#M10092</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-18T21:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966119#M10093</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;E is the symbol name for the insert entity.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 21:14:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966119#M10093</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-18T21:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966123#M10094</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;(entlast) was the trick.&amp;nbsp; YAY!!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 21:15:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966123#M10094</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-18T21:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966662#M10095</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is for R2002. btw on what platform (OS) you are running 2002?&lt;/P&gt;&lt;P&gt;you did not post your code&amp;nbsp;maybe when insert the block your where using (entmake) instead of (entmakex)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moshe&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>Mon, 19 Aug 2024 06:52:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12966662#M10095</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-08-19T06:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12968632#M10096</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;OS is Win10.&lt;/P&gt;&lt;P&gt;I almost always prefer using entmakex because it returns the entity name, as in&lt;/P&gt;&lt;P&gt;(setq e (entmakex ...))&lt;/P&gt;&lt;P&gt;But my AutoCAD could not continue when I tried to "MOVE" e.&lt;/P&gt;&lt;P&gt;I know I had tested (outside the program, leaving e as global) with (entget e) and all looked fine.&lt;/P&gt;&lt;P&gt;Maybe it was a timing issue, but entlast saved the day.&amp;nbsp; Who woulda thunk? (other than&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15306255"&gt;@ec-cad&lt;/a&gt;&amp;nbsp;)&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 22:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12968632#M10096</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-19T22:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12969187#M10097</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's medical miracle that R2002 works under windows 10, i thought it is crashing on each step?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moshe&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>Tue, 20 Aug 2024 06:39:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12969187#M10097</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-08-20T06:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Move anonymous block insertion</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12969983#M10098</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It sort of IS a miracle.&amp;nbsp; I found that I had to use the LongBow installer.&amp;nbsp; Great people.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:19:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/move-anonymous-block-insertion/m-p/12969983#M10098</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-20T14:19:00Z</dc:date>
    </item>
  </channel>
</rss>

