<?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: Why have macros been stopped from being able to hold a selection set? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6350098#M278761</link>
    <description>&lt;P&gt;Sorry,,, My bad,, I thought you were talking about ActionMacros...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for your problem, adding anothe semi colon after ghe select previous did't work..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replacing the entire select previous command with this lisp code worked&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;sssetfirst &lt;FONT color="#339966"&gt;nil&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;ssget &lt;FONT color="#008000"&gt;"_P"&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt; ))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example of a move macro ending with this statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;^C^C^C_move;\;\\(sssetfirst nil (ssget "_P" ))&lt;/PRE&gt;
&lt;P&gt;Good Luck&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2016 10:30:12 GMT</pubDate>
    <dc:creator>elshawadfy</dc:creator>
    <dc:date>2016-05-26T10:30:12Z</dc:date>
    <item>
      <title>Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336513#M278753</link>
      <description>&lt;P&gt;Was this a deliberate change? Or a bug caused by something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it ever likely to be restored? Could I convince someone to put it on a list!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In 2013 or 14 the program allowed for macros to pick a selection and then leave them selected (highlighted with grips visible) at end of macro. This meant the user could then directly alter the properties or make another action on those objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next release this changed so that when the same macros ran the selection set was no longer active. This meant the user has to click "Select" and "Previous" to take the same actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seemed to slip under the radar, but it makes a big difference to our workflow and has slowed our office and similar offices down for several years since.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 00:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336513#M278753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336737#M278754</link>
      <description>&lt;P&gt;You can add to the end of the macro itself - the command "select" then "p" then enter..&lt;/P&gt;&lt;P&gt;This should&amp;nbsp;get back your previous selection..&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 03:52:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336737#M278754</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-05-19T03:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336960#M278755</link>
      <description>&lt;P&gt;Thanks for the response. Yeah, all our macros finish with SELECT;Previous;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But a couple of releases ago it stopped working inside any macros.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I then manually run the SELECT command it can pick them up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But macros now end with "No Selection".&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 07:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6336960#M278755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6337413#M278756</link>
      <description>&lt;P&gt;I'm using Autocad 2016 - and select previous works fine..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple macro is included to try..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note that you need 'One' enter after the select privious to have the selection set active)&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 11:59:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6337413#M278756</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-05-19T11:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6344375#M278757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous﻿,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did the macro from&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2780584"&gt;@elshawadfy﻿&lt;/a&gt;&amp;nbsp;work for you? Please post your results so that other users might benefit.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 17:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6344375#M278757</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2016-05-23T17:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349577#M278758</link>
      <description>&lt;P&gt;That is interesting - leaving only one enter after previous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, what that allows is for you to continue to edit the selection set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not allow you to take any action on that set. You still have to right click or hit enter to complete the selection set, which immediately sets the selection but makes it inactive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the test is if you can change something in the properties box. If you could change the layer or the height of the text, that is what I am talking about. Or even typing a command directly like MOVE and it moves that set. As it is, since 2014, you have to use the macro to select, then type MOVE;Previous;; to take action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if you finish the macor with MOVE;Previous; (with only one enter), you'd have to then hit enter for the selection after the macro and then still type MOVE;Previous;; to actually take the action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to reply.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 00:01:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349577#M278758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T00:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349656#M278759</link>
      <description>&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, it seems I could'nt convey what I&amp;nbsp;wanted correctly.. You need one enter after select p is&amp;nbsp;entered.. i.e.: &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Select&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;(enter)&lt;/FONT&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;(enter)&lt;/FONT&gt;, Now one more &lt;FONT color="#FF0000"&gt;(enter)&lt;/FONT&gt; to highlight the elements --- And then stop the action recorder..&lt;/P&gt;&lt;P&gt;I&amp;nbsp;tried running&amp;nbsp;commands on the selection set afterwards, and every thing ran soothly.. Modifying the properties also, no problems.. (I'm using 2016)&lt;/P&gt;&lt;P&gt;If you ran the macro I uploaded you ll find the selection set still active &amp;amp; grips highlighted after finishing..&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;You need Also to make sure that "&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;PickFirst&lt;/STRONG&gt;&lt;/FONT&gt;" is set to "&lt;FONT color="#0000FF"&gt;1&lt;/FONT&gt;"..&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 01:38:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349656#M278759</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-05-26T01:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349864#M278760</link>
      <description>&lt;P&gt;Oh, I see. You do understand what I mean. I thought you were saying the opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a trial of the full version of AutoCAD 2017 currently. But I am new to the action macro side. Do I have to load this in and play it though the action recorder somehow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I a talking about is old school macros, like you'd run in a custom ribbon button or tool palette or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;^C^COSMode;73;MSPACE;'-LAYER;Lock;*;Unlock;0;;_AI_SELALL;MOVE;^C^C-LAYER;Unlock;*;;JUSTIFYTEXT;Previous;;ML;SELECT;Previous;&lt;/PRE&gt;&lt;P&gt;For example, the above macro will isolate everything in layer "0" and then keep it in a live selection for editing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But in 2014 this stopped working.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 06:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6349864#M278760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T06:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6350098#M278761</link>
      <description>&lt;P&gt;Sorry,,, My bad,, I thought you were talking about ActionMacros...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for your problem, adding anothe semi colon after ghe select previous did't work..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replacing the entire select previous command with this lisp code worked&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;sssetfirst &lt;FONT color="#339966"&gt;nil&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;ssget &lt;FONT color="#008000"&gt;"_P"&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt; ))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example of a move macro ending with this statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;^C^C^C_move;\;\\(sssetfirst nil (ssget "_P" ))&lt;/PRE&gt;
&lt;P&gt;Good Luck&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 10:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6350098#M278761</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-05-26T10:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394896#M278762</link>
      <description>&lt;P&gt;Thanks so much for your persistence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get this working in LT, so Lisp is not an option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am waiting to hear back from management about my recent proposal to upgrade. If that goes well I'll be checking out your Lisp first up.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:08:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394896#M278762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-21T02:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394901#M278763</link>
      <description>&lt;P&gt;I still mainting that there is a bug in AutoCAD,&amp;nbsp; or at least in LT, that was introduced in about 2014/15. One release could hold a selection after a macro, the next version that just stopped. It caused us to redesign our whole workflow. I keep hoping it will be addressed in a new release.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:12:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394901#M278763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-21T02:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394977#M278764</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous﻿,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't mention it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found out later that this works olny when the elements where selected first (before applying the macro)&lt;/P&gt;
&lt;P&gt;An example move macro would be like this then (since the objects will be already selected..):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;^C^C^C_move;\\(sssetfirst nil (ssget "_P" ))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I hope you succeed in your endeavor with the company &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck..&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 04:08:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394977#M278764</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-06-21T04:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why have macros been stopped from being able to hold a selection set?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394979#M278765</link>
      <description>&lt;P&gt;And&amp;nbsp;@Anonymous﻿,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something else worth checking,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I applied the cui command, and searched the "select previous" command, I found the code like this:&lt;/P&gt;
&lt;PRE&gt;$M=$(if,$(getvar,cmdactive),,_select;)_p &lt;/PRE&gt;
&lt;P&gt;So it's using DEISL instead of a&amp;nbsp;lisp statement..&lt;/P&gt;
&lt;P&gt;You may want to check the same button in your AutoCAD see what its code is like..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 04:18:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/why-have-macros-been-stopped-from-being-able-to-hold-a-selection/m-p/6394979#M278765</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-06-21T04:18:57Z</dc:date>
    </item>
  </channel>
</rss>

