<?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: Can you give instructions during user input with ssget? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180246#M62401</link>
    <description>&lt;P&gt;That was just an example. It works with simple (ssget) too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better then use the common approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(princ "\nSelect something extraordinary, ")&lt;/P&gt;
&lt;P&gt;(ssget)&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 18:05:57 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2021-03-23T18:05:57Z</dc:date>
    <item>
      <title>Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180153#M62398</link>
      <description>&lt;P&gt;I am very new to creating AutoLISP routines and trying to figure them out. From what I've picked up and learned so far, I know I can give an instruction that shows up in the command bar when using the getpoint function when I write it like this:&lt;BR /&gt;(setq pt1 (getpoint "Select starting point:"))&lt;/P&gt;&lt;P&gt;With that "Select starting point:" displays in the command bar for the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I can't seem to do the same with ssget. If I try something similar (subbing getpoint for ssget in the example above):&lt;BR /&gt;(setq ss1 (ssget "Select the specific objects:"))&lt;/P&gt;&lt;P&gt;AutoCAD gives me "bad ssget mode string".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to display instructions for a user when using ssget?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA for any help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 17:28:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180153#M62398</guid>
      <dc:creator>Darrick.Earley</dc:creator>
      <dc:date>2021-03-23T17:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180202#M62399</link>
      <description>&lt;P&gt;Not as simple as with (entsel) but possible. There is the &lt;EM&gt;nomutt&lt;/EM&gt; system variable.&lt;/P&gt;
&lt;P&gt;But it's kinda dangerous game - you really need to make sure that you set it back to zero - do you know how to use the *error* function? If not, better hands-off the nomutt. Once you keep it on, you won't see any prompts on the command-line. Lots of people better not using it at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setvar 'nomutt 1)
(princ "\nSelect viewport: ")
(setq s (ssget "_+.:E:S" '((0 . "VIEWPORT"))))
(setvar 'nomutt 0)
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 17:53:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180202#M62399</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-03-23T17:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180236#M62400</link>
      <description>&lt;P&gt;Unfortunately, I do not know how to use the *error* function. I also still haven't learned some of the other functions mentioned in your answer (setvar and princ).&lt;/P&gt;&lt;P&gt;One thing I think I've learned from looking through other ssget posts in the forum is that the ":S" only gives the user a single click chance. Is that correct? If so, I don't think that would work as I would want to let the user select multiple objects and they would be scattered (so can't do a lasso selection).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 18:00:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180236#M62400</guid>
      <dc:creator>Darrick.Earley</dc:creator>
      <dc:date>2021-03-23T18:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180246#M62401</link>
      <description>&lt;P&gt;That was just an example. It works with simple (ssget) too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better then use the common approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(princ "\nSelect something extraordinary, ")&lt;/P&gt;
&lt;P&gt;(ssget)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 18:05:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180246#M62401</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-03-23T18:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180348#M62402</link>
      <description>&lt;P&gt;I usually put in a&amp;nbsp;&lt;FONT color="#000000"&gt;(prompt)&lt;/FONT&gt;&amp;nbsp;to the user just before the &lt;FONT color="#000000"&gt;(ssget)&lt;/FONT&gt; function, with a phrase ending in a comma so that &lt;FONT color="#000000"&gt;(ssget)&lt;/FONT&gt;'s own&amp;nbsp;&amp;nbsp;&lt;FONT color="#000000"&gt;Select objects:&lt;/FONT&gt;&amp;nbsp; prompt [that you have no control over] sort of follows naturally, though unavoidably on a new line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;(prompt "\nTo do whatever it is you intend to do with them,")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;(ssget '((0 . ......&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 18:40:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180348#M62402</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-03-23T18:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180465#M62403</link>
      <description>&lt;P&gt;Thank you both &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;and &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;. Both those options are getting really close to what I'm hoping for. With both of those, it shows the instruction text just above the command bar as if it's a previously/recently used command. If that's the best I can get with my limited LISP understanding then that's fine.&lt;/P&gt;&lt;P&gt;What I am really hoping for is something that would say "Select all perimeter tubes:" in the command bar during the selection step instead of "Select objects:".&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 19:25:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180465#M62403</guid>
      <dc:creator>Darrick.Earley</dc:creator>
      <dc:date>2021-03-23T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180521#M62404</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10430835"&gt;@Darrick.Earley&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;.... What I am really hoping for is something that would say "Select all perimeter tubes:" in the command bar during the selection step instead of "Select objects:".&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Aren't we all...?&amp;nbsp; Unfortunately, (ssget) doesn't have the option to spell out the prompt, the way the various (get...) functions do.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 19:41:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180521#M62404</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-03-23T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can you give instructions during user input with ssget?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180532#M62405</link>
      <description>&lt;P&gt;Ok. Well thank you for letting me know about the (prompt) option.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 19:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-you-give-instructions-during-user-input-with-ssget/m-p/10180532#M62405</guid>
      <dc:creator>Darrick.Earley</dc:creator>
      <dc:date>2021-03-23T19:45:03Z</dc:date>
    </item>
  </channel>
</rss>

