<?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: Find an Replace - save object selection set in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12086208#M27341</link>
    <description>FIND command remembers the last selection while still in the same AutoCAD session, even between DWG files here: plus earlier selections through the pulldown selections.&lt;BR /&gt;&lt;BR /&gt;Is that not the case for you? Or do you want this ability also between AutoCAD sessions (pick up this morning where you left off last week when you went on vacation)?</description>
    <pubDate>Fri, 07 Jul 2023 12:56:51 GMT</pubDate>
    <dc:creator>pendean</dc:creator>
    <dc:date>2023-07-07T12:56:51Z</dc:date>
    <item>
      <title>Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12085682#M27340</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a lisp to improve on the standard "find and replace" command.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With the standard command, the object selection resets every time I close the command. That's pretty annoying because I have to mark the objects to be searched again every time.&lt;BR /&gt;So i need a lisp (or maybe a workaround) that saves the selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to make shure what i want, this is the workflow i have:&lt;/P&gt;&lt;P&gt;&amp;gt; Execute search command&lt;/P&gt;&lt;P&gt;&amp;gt; mark objects that are to be searched&lt;/P&gt;&lt;P&gt;&amp;gt; create a selection set from the list, depending on whether only individual objects or all objects&lt;/P&gt;&lt;P&gt;&amp;gt; make various changes &amp;gt; execute search command&lt;/P&gt;&lt;P&gt;&amp;gt; the same objects that are to be searched should be marked&lt;/P&gt;&lt;P&gt;(if objects have been deleted from them in the meantime, the search should still be done with the objects that still exist)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 08:14:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12085682#M27340</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-07T08:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12086208#M27341</link>
      <description>FIND command remembers the last selection while still in the same AutoCAD session, even between DWG files here: plus earlier selections through the pulldown selections.&lt;BR /&gt;&lt;BR /&gt;Is that not the case for you? Or do you want this ability also between AutoCAD sessions (pick up this morning where you left off last week when you went on vacation)?</description>
      <pubDate>Fri, 07 Jul 2023 12:56:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12086208#M27341</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-07-07T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12086231#M27342</link>
      <description>&lt;P&gt;&lt;STRONG&gt;FIND&lt;/STRONG&gt; has that ability, over on the right [after you've hit the Find button and it has some result(s)]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1688734863250.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1237807i047F6E4DB323ABA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1688734863250.png" alt="Kent1Cooper_0-1688734863250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;That pop-up is about the lower of the two red-circled options; the upper also leaves the selection highlighted/gripped.&amp;nbsp; It doesn't &lt;EM&gt;name&lt;/EM&gt; the selection set as an AutoLisp variable, but you can do that by following it with:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(setq ss (ssget "_P"))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 13:05:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12086231#M27342</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-07-07T13:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12087200#M27343</link>
      <description>&lt;P&gt;Under those links you can find a plugin that I wrote some time ago for selecting various objects that contain a desired phrase of text. It features also a selection manager where you can save a selection for the future use.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://apps.autodesk.com/ACD/pl/Detail/Index?id=8683372876092716848&amp;amp;appLang=en&amp;amp;os=Win32_64" target="_blank" rel="noopener"&gt;https://apps.autodesk.com/ACD/pl/Detail/Index?id=8683372876092716848&amp;amp;appLang=en&amp;amp;os=Win32_64&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://autolisps.blogspot.com/p/findandselectbytextcontent.html" target="_blank" rel="noopener"&gt;https://autolisps.blogspot.com/p/findandselectbytextcontent.html&lt;/A&gt;&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="FIND_AND_SELECT_BY_TEXT_CONTENT_screenshot.jpg" style="width: 212px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1238633i4ABB064D76732084/image-size/small?v=v2&amp;amp;px=200" role="button" title="FIND_AND_SELECT_BY_TEXT_CONTENT_screenshot.jpg" alt="FIND_AND_SELECT_BY_TEXT_CONTENT_screenshot.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SELECTION_MANAGER_v1_00.jpg" style="width: 300px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1238634iFE07EE690984EBC7/image-size/small?v=v2&amp;amp;px=200" role="button" title="SELECTION_MANAGER_v1_00.jpg" alt="SELECTION_MANAGER_v1_00.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 15:56:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12087200#M27343</guid>
      <dc:creator>andkal</dc:creator>
      <dc:date>2023-07-10T15:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090118#M27344</link>
      <description>Hi, for me it only remembers the selection if i dont close the find command.&lt;BR /&gt;Only when i search something and then instantly search for another phrase it rembers the selection.&lt;BR /&gt;&lt;BR /&gt;So when i do this workflow it doesnt rember: SEARCH command -&amp;gt; entering phrase and search -&amp;gt; select results (after this, the search command closes and the selection of objects is made) -&amp;gt; change some stuff -&amp;gt; SEARCH command -&amp;gt; and now the selection of the previous search should still be the same</description>
      <pubDate>Mon, 10 Jul 2023 04:42:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090118#M27344</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-10T04:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090119#M27345</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the possibility to mark the found objects is known to me. My problem is that the selection of which objects should be searched is reset after restarting SEARCH.</description>
      <pubDate>Mon, 10 Jul 2023 04:44:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090119#M27345</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-10T04:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090124#M27346</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i tried the testversions of both lisps but both just give out nil when entering the command.&lt;BR /&gt;&lt;BR /&gt;Maybe my german version has something to do with that. English commands don't work on my German version. So if you have coded direct commands somewhere in the LISP, that's where the error comes from.&lt;BR /&gt;It could work, if the commands have an underscore before (e.g.: "_move"), then it gets translated automatically.</description>
      <pubDate>Mon, 10 Jul 2023 04:48:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12090124#M27346</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-10T04:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12091099#M27347</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13278717"&gt;@thomas_schluesselberger&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;...My problem is that the selection of which objects should be searched is reset after restarting SEARCH.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Greetings: can you share with us a screenshot of your ABOUT command pop-up and confirm your OS version please?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 12:48:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12091099#M27347</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-07-10T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12091626#M27348</link>
      <description>&lt;P&gt;Hello Thomas&lt;BR /&gt;Thak you for your reply.&lt;BR /&gt;Actually there are no direct commands built in those particular lisps. Maybe try using it on some other file or in a new drawing.&lt;BR /&gt;At work I also use a german version, becouse I live in Austria from some time, but no such error occurs on my PC.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:11:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12091626#M27348</guid>
      <dc:creator>andkal</dc:creator>
      <dc:date>2023-07-10T16:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12092734#M27349</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;What exactly should I take a screenshot of? What do you mean by "ABOUT command pop-up" and what is OS (do you mean my AutoCAD version?).</description>
      <pubDate>Tue, 11 Jul 2023 04:50:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12092734#M27349</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-11T04:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12092868#M27350</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;if you'll keep selection set of entities within which you want to perform search and replace, you may try this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:find_in_selected nil
	(if (cadr (ssgetfirst))
		(command "_.find")
		(progn
			(if search_within_sset 
				(if (= 7 (acet-ui-message "There is previously made selection set.\nActivate it &amp;lt;Yes&amp;gt; or make new &amp;lt;No&amp;gt;\nto search within?"
										  "Selection set found" 4
					     )
					)
						(progn
							(prompt "Select enames to find within")
							(sssetfirst nil (setq search_within_sset (ssget)))
						)
						(sssetfirst nil search_within_sset)
				)
			)
			(command "_.find")
		)
	)
	(if search_within_sset (sssetfirst nil search_within_sset))
	(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 08:56:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12092868#M27350</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2023-07-11T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093551#M27351</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13278717"&gt;@thomas_schluesselberger&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;What exactly should I take a screenshot of? What do you mean by "ABOUT command pop-up" and what is OS (do you mean my AutoCAD version?).&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ABOUT command in AutoCAD presents a pop-up/dialog box: I would like to see what exact variant you are running when you get a chance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OS=Operating System.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 12:16:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093551#M27351</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-07-11T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093724#M27352</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a video for you by trying to visualize it.&lt;BR /&gt;I'm searching for objects that contain "1". I marked the ones I found and then ended the selection and moved a symbol. Then I start the search again and had to mark the same objects again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with "AutoCAD 2023" and with "Windows 10 Pro for Workstations"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 13:19:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093724#M27352</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-11T13:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093744#M27353</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;sadly thats not working for me.&lt;BR /&gt;&lt;BR /&gt;I need to search -&amp;gt; select objects which shoud be searched -&amp;gt; change found objects (attribute changes, position changes, etc.) -&amp;gt; start new search with same objects as previous.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jul 2023 13:25:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093744#M27353</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-11T13:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093872#M27354</link>
      <description>OK, so you want FIND command to automatically reselect objects for you when you start it back up then add newer selections? That's not how FIND has ever worked, looks like you need to be using QSELECT or FILTER instead. FIND command is the incorrect tool for your need.&lt;BR /&gt;&lt;BR /&gt;Thanks for the video.</description>
      <pubDate>Tue, 11 Jul 2023 14:04:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093872#M27354</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-07-11T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093990#M27355</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;.... you want FIND command to automatically reselect objects for you when you start it back up then add newer selections? That's not how FIND has ever worked, looks like you need to be using QSELECT or FILTER instead. FIND command is the incorrect tool for your need. ....&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As far as I know, neither QSELECT nor FILTER can locate all the different object types that might contain the specified text content in whole or in part, together, the way FIND can, so what they're hoping for is at least understandable.&amp;nbsp; Whether there's a way to accomplish that goal is another question....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; An approach I tried, that should be automatable to some degree:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FIND&lt;/STRONG&gt;, of course with &lt;STRONG&gt;List results&lt;/STRONG&gt; checked, do your thing.&lt;/P&gt;
&lt;P&gt;With the findings in the list &lt;EM&gt;all selected&lt;/EM&gt;, pick either of the &lt;STRONG&gt;Create selection set&lt;/STRONG&gt; icons on the right; you'll be left with them all selected/gripped/highlighted.&lt;/P&gt;
&lt;P&gt;Put them into a variable:&amp;nbsp; &lt;STRONG&gt;(setq ss (ssget "_I"))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Do what you want with some of them [Attribute and/or Text/Mtext content changes, position changes, etc.].&lt;/P&gt;
&lt;P&gt;Re-select/grip/highlight &lt;EM&gt;the same selection:&lt;/EM&gt;&amp;nbsp; &lt;STRONG&gt;(sssetfirst nil ss)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FIND&lt;/STRONG&gt; again, and in the &lt;STRONG&gt;Find w&lt;U&gt;h&lt;/U&gt;ere:&lt;/STRONG&gt; pull-down at upper right,&amp;nbsp;&lt;STRONG&gt;Selected objects&lt;/STRONG&gt; &lt;EM&gt;will already be chosen&lt;/EM&gt; since there is a pre-selection, so all you need to do is pick on the &lt;STRONG&gt;&lt;U&gt;F&lt;/U&gt;ind&lt;/STRONG&gt; button near bottom center again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I did that with it finding 11 objects, and I changed the content of one so it didn't match any more, on the follow-up it found 10 objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Tool Palette button or a little command name definition could do the putting of FIND's current selection into the variable, and another could do the re-selecting of that selection &lt;EM&gt;and&lt;/EM&gt; the recalling of the&amp;nbsp;&lt;STRONG&gt;FIND&lt;/STRONG&gt; command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;Further&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;EDIT:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun C:FF ()
  (setq *FFss* (ssget "_I"))
)

(defun C:FFF ()
  (sssetfirst nil *FFss*)
  (command "_.find")
  (prin1)
)&lt;/LI-CODE&gt;
&lt;P&gt;Load those in [assuming you don't already use those command names].&amp;nbsp; Do FIND, select all its findings [or only some of them if you want] in the list, and pick on one of the &lt;STRONG&gt;Create selection set&lt;/STRONG&gt; icons.&amp;nbsp; &lt;EM&gt;&lt;FONT size="4"&gt;Type &lt;STRONG&gt;FF&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Do what you want with stuff.&amp;nbsp; &lt;EM&gt;&lt;FONT size="4"&gt;Type &lt;STRONG&gt;FFF&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;, and just pick on the &lt;STRONG&gt;&lt;U&gt;F&lt;/U&gt;ind&lt;/STRONG&gt; button in the dialog box again.&amp;nbsp; Assuming you have not used FIND with other settings in the meantime, the same Find options will be applied to the same selection, and whatever still fits the criteria will be found.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 15:47:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12093990#M27355</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-07-11T15:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12095620#M27356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much, this is working great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is just one small improvement that would prevent mistakes:&lt;/P&gt;&lt;P&gt;If I accidentally type FF instead of FFF, the selection gets reset. Is it possible to adjust the LISP so that FF only creates a new objectselection when objects are actually selected?&lt;/P&gt;&lt;P&gt;So if: No objects are selected and I type FF, then a message with "no objects selected" appears and the object selection should remain at the previous one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 05:17:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12095620#M27356</guid>
      <dc:creator>thomas_schluesselberger</dc:creator>
      <dc:date>2023-07-12T05:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12095719#M27357</link>
      <description>&lt;P&gt;hmmm, it was supposed to do exactly that. and it does.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 06:20:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12095719#M27357</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2023-07-12T06:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12096504#M27358</link>
      <description>&amp;gt;&amp;gt;&amp;gt;...If I accidentally type FF instead of FFF...&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13278717"&gt;@thomas_schluesselberger&lt;/a&gt; Any reason you opted not to rename them from FF / FFF to something unrelated? Don't call everything an apple if you don't want apples all the time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 12 Jul 2023 12:39:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12096504#M27358</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-07-12T12:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find an Replace - save object selection set</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12096545#M27359</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13278717"&gt;@thomas_schluesselberger&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;.... Is it possible to adjust the LISP so that FF only creates a new objectselection when objects are actually selected?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;So if: No objects are selected and I type FF, then a message with "no objects selected" appears and the object selection should remain at the previous one.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;LI-CODE lang="general"&gt;(defun C:FF ()
  (if (ssget "_I")
    (setq *FFss* (ssget "_I")); then
    (prompt "\nNo object(s) selected."); else
  )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 12:51:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-an-replace-save-object-selection-set/m-p/12096545#M27359</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-07-12T12:51:08Z</dc:date>
    </item>
  </channel>
</rss>

