<?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: block in place editing in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6283591#M132903</link>
    <description>&lt;P&gt;hi&amp;nbsp;BeeKeeCZ, I wanna go into a nested block &amp;amp; am coming out of one too, i wanna have the option to go into any block either by picking it on screen or selecting from a list - just like the window of "referance edit" gives. thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2016 06:43:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-21T06:43:03Z</dc:date>
    <item>
      <title>block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270310#M132894</link>
      <description>&lt;P&gt;Hi, I really want to have the option to go into another block for in-place editing WITHOUT having to go out of the block i am editind in place now &amp;amp; then entering the other one - is there a way to do that? just like moving into another block via block editor - i am just asked if to save changes &amp;amp; i can go right away into another block...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:44:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270310#M132894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T09:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270342#M132895</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I really want to have the option to go into another block for in-place editing WITHOUT having to go out of the block i am editind in place now &amp;amp; then entering the other one - is there a way to do that? just like moving into another block via block editor - i am just asked if to save changes &amp;amp; i can go right away into another block...&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi Hanna,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="alt-edited"&gt;maybe&lt;/SPAN&gt;, in blockeditor:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command:bsave&lt;/P&gt;
&lt;P&gt;Command: bedit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:06:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270342#M132895</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2016-04-14T10:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270358#M132896</link>
      <description>thanks! but the whole point is when i am in block IN PLACE.........</description>
      <pubDate>Thu, 14 Apr 2016 10:13:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270358#M132896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270371#M132897</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;thanks! but the whole point is when i am in block IN PLACE.........&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My bad!!!! &lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll have to close, to edit a new one...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:23:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270371#M132897</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2016-04-14T10:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270381#M132898</link>
      <description>yep &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; so i was wondering if maybe there is some kind of a lisp to do that...?</description>
      <pubDate>Thu, 14 Apr 2016 10:27:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270381#M132898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270423#M132899</link>
      <description>&lt;P&gt;This routine makes close/open for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question is what to do with current block: always save? always not? or ask the user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:EditInPlace ( / ss)
  (if (setq ss (ssget ":S" '((0 . "INSERT"))))
    (progn
      (command "_.refclose")
      (while (&amp;gt; (getvar 'CMDACTIVE) 0)
	(command
	  	&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"_save"  &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;; change to&lt;/FONT&gt; &lt;STRONG&gt;"_discard" &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;or&lt;/FONT&gt;&lt;STRONG&gt; PAUSE&lt;/STRONG&gt;&lt;/FONT&gt;
		))))   
  (command "_.-refedit" (cdr (assoc 10 (entget (ssname ss 0)))) "_o" "_a" "_y")
  (princ)
)
  &lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:59:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270423#M132899</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-04-14T10:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270443#M132900</link>
      <description>Wow thanks! it's almost there... first of all i want to have a choice to save or discard...second - because i have nested block it gives an error (*Invalid selection*&lt;BR /&gt;Expects a single object.&lt;BR /&gt;; error: Function cancelled)&lt;BR /&gt;what i would like is for the "referance edit" window to open when i select the second block- just like the program does in the first place&lt;BR /&gt;thank you so much!!</description>
      <pubDate>Thu, 14 Apr 2016 11:07:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270443#M132900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270455#M132901</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;This routine makes close/open for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is what to do with current block: always save? always not? or ask the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:EditInPlace ( / ss)
  (if (setq ss (ssget ":S" '((0 . "INSERT"))))
    (progn
      (command "_.refclose")
      (while (&amp;gt; (getvar 'CMDACTIVE) 0)
	(command
	  	&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"_save"  &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;; change to&lt;/FONT&gt; &lt;STRONG&gt;"_discard" &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;or&lt;/FONT&gt;&lt;STRONG&gt; PAUSE&lt;/STRONG&gt;&lt;/FONT&gt;
		))))   
  (command "_.-refedit" &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;(cdr (assoc 10 (entget (ssname ss 0))))&lt;/FONT&gt;&lt;/STRONG&gt; "_o" "_a" "_y")
  (princ)
)
  &lt;/PRE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi BeekeeCZ, I am afraid that this isn't so simple... If that would be solution then this would be solved long time ago...&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.theswamp.org/index.php?topic=48470.0" target="_blank"&gt;https://www.theswamp.org/index.php?topic=48470.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hint : This line marked red is probably wrong - you have to find reactive points on entity you wish to edit in place like it's explained in link I just pointed you...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also worth of looking is this topic ... :&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.theswamp.org/index.php?topic=50585.0" target="_blank"&gt;https://www.theswamp.org/index.php?topic=50585.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH, M.R.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 11:13:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270455#M132901</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2016-04-14T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270558#M132902</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;...second - because i have nested block it gives an error (*Invalid selection*&amp;nbsp;&lt;BR /&gt;Expects a single object.&lt;BR /&gt;; error: Function cancelled)&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;what i would like is for the "referance edit" window to open when i select the second block- just like the program does in the first place&lt;BR /&gt;thank you so much!!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Could you more elaborate this "i have nested block"... you're IN nested block or you're selecting block with nested block... I'm not able to reproduce this - can you post some sample?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Not sure what you mean - do you mean contextual ribbon or right-click shortcut menu? You can add this command into both - use _CUI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The third - Marco referred some issues with this approach - I don't have time to go throw all of it - it looks like that is just 3d thing. Not sure. Let know if this is your issue as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/940934"&gt;@marko_ribar&lt;/a&gt;&amp;nbsp;thanks for the heads up!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save prompt:&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;(defun c:EditInPlace ( / ss)
  (if (setq ss (ssget ":S" '((0 . "INSERT"))))
    (progn
      (command "_.refclose")
      (while (&amp;gt; (getvar 'CMDACTIVE) 0)
	(command PAUSE))
      (command "_.-refedit" (cdr (assoc 10 (entget (ssname ss 0)))) "_o" "_a" "_y")))
  (princ)
)&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Thu, 14 Apr 2016 11:56:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6270558#M132902</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-04-14T11:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6283591#M132903</link>
      <description>&lt;P&gt;hi&amp;nbsp;BeeKeeCZ, I wanna go into a nested block &amp;amp; am coming out of one too, i wanna have the option to go into any block either by picking it on screen or selecting from a list - just like the window of "referance edit" gives. thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 06:43:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6283591#M132903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: block in place editing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6285206#M132904</link>
      <description>&lt;P&gt;Ok... After some elaboration I decided make it simple... I think the best way is to make two buttons&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Save&amp;nbsp;and&amp;nbsp;Edit Next&lt;/P&gt;
&lt;P&gt;- No Save end Edit Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:SaveAndNext nil
  (initdia)
  (command "_.refclose" "_sav"
	   "_.refedit")
  (princ)
)

(defun c:NoSaveAndNext nil
  (initdia)
  (command "_.refclose" "_dis"
	   "_.refedit")
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;In _CUI create these two buttons... Macro&amp;nbsp;would be&amp;nbsp;just: SaveAndNext, name it e.g. "Save\rEdit&amp;nbsp;Next"... and add it into Ribbon/Panels/Reference Edit - Edit Reference&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:55:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-in-place-editing/m-p/6285206#M132904</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-04-21T18:55:09Z</dc:date>
    </item>
  </channel>
</rss>

