<?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 Looking for a best way for Get Selection of User in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3501746#M55056</link>
    <description>&lt;P&gt;Hi all . i want to launche my DLL but i want to add a parameter with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;GC A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know when autocad see a space it transform the pace in a Enter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My DLL can manage 8 collections&amp;nbsp;&amp;nbsp;&amp;nbsp; so i want the user select on the command the number before launch my dll&lt;/P&gt;&lt;P&gt;and i want to selec the operation&amp;nbsp; (ex : add, del etc..)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created 2 commands&amp;nbsp; GSC for launch the config and GSG for the management&lt;/P&gt;&lt;P&gt;The two command launch the same DLL but how to add parameter ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2012 10:10:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-15T10:10:48Z</dc:date>
    <item>
      <title>Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3501746#M55056</link>
      <description>&lt;P&gt;Hi all . i want to launche my DLL but i want to add a parameter with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;GC A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know when autocad see a space it transform the pace in a Enter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My DLL can manage 8 collections&amp;nbsp;&amp;nbsp;&amp;nbsp; so i want the user select on the command the number before launch my dll&lt;/P&gt;&lt;P&gt;and i want to selec the operation&amp;nbsp; (ex : add, del etc..)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created 2 commands&amp;nbsp; GSC for launch the config and GSG for the management&lt;/P&gt;&lt;P&gt;The two command launch the same DLL but how to add parameter ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2012 10:10:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3501746#M55056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-15T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3502484#M55057</link>
      <description>&lt;P&gt;The only way to pass a parameter to a command is to&amp;nbsp;use the&amp;nbsp;LispFunction attribute, but LispFunctions can not be used to demand load your .dll (I'm pretty sure).&amp;nbsp; So, you could automatically load on AutoCAD startup, and use the LispFunction, otherwise you'll need to just prompt for the inputs after the command starts.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2012 15:53:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3502484#M55057</guid>
      <dc:creator>chiefbraincloud</dc:creator>
      <dc:date>2012-06-15T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3502584#M55058</link>
      <description>&lt;P&gt;It sounds like you have your dll set to demand load. Therefore, any command you have defined within it, will demand load the dll. So all you have to worry about is starting the correct command. You can use command macros, (part of the cui functionality) to specify keyword options of the command. Set up your command to use keywords. For example, you said you have 2 commands, GSC and GSG. When the user types in either one, the dll will demand load. If each command has options, then set up those options to be Keywords. For example when the user types GSC, they would be prompted:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: GSC&lt;/P&gt;&lt;P&gt;Command: Select an Option1, Option2 &amp;lt;Option1&amp;gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you can create 2 menu macros in your cui, like the following:&lt;/P&gt;&lt;P&gt;CSC;Option1;&lt;/P&gt;&lt;P&gt;CSC;Option2;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2012 16:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3502584#M55058</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2012-06-15T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3503628#M55059</link>
      <description>&lt;P&gt;so the best way is prompt for the inputs after the command starts&lt;/P&gt;&lt;P&gt;I don't want use macro. modifiy the cui is not very accurate. My dll is used on 6 pc. so i have to manage all the pc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is mode accurate to copy the dll on each pc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i dont know very well the command for deman the option from user but i have do to that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2012 14:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3503628#M55059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-17T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3504650#M55060</link>
      <description>&lt;P&gt;You don't have to modify the cui. The users could do it themselves if they want to. Or you could just make multiple commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as far as the cui goes, you should get used to it. I have 30 users. Don't modify their existing default cui, give them a partial cui just for your code. If you're going to create dll's with a bunch of commands, you should create a partial cui. It wouldn't be nice to expect the users to just remember what all your commands are and type them at the command line from memory. If you provide a partial cui, at least they could select it from a menu if they forgot what the command was called. If you can supply ribbon panels and toolbars, that's even better.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 15:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3504650#M55060</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2012-06-18T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a best way for Get Selection of User</title>
      <link>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3505974#M55061</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't want use partial cui. My user are very not accurate with acad &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i need to create a getselection with all my command when i launch the ddl. Is more accurate i think but now i dont know how ti create a such GetSelection with GetKeyword &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&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, 19 Jun 2012 10:36:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/looking-for-a-best-way-for-get-selection-of-user/m-p/3505974#M55061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T10:36:56Z</dc:date>
    </item>
  </channel>
</rss>

