<?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: How to get user input words in NestedEntityOptions in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7804970#M27197</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to let the user get a nested text or user enter a text.&lt;/P&gt;
&lt;P&gt;Keywords need one more step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just like getdist, user can get a dist by pick 2 pts, or user enter a value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case is getting a dbtext.textstring in stead of getdist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the api does not contain this.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2018 00:13:33 GMT</pubDate>
    <dc:creator>swaywood</dc:creator>
    <dc:date>2018-02-24T00:13:33Z</dc:date>
    <item>
      <title>How to get user input words in NestedEntityOptions</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7802671#M27195</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know PromptSelectionOptions class has UnknownInput Event.&lt;/P&gt;
&lt;P&gt;But I want to get user input words in PromptNestedEntityOptions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;swaywood&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 11:18:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7802671#M27195</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2018-02-23T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get user input words in NestedEntityOptions</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7804322#M27196</link>
      <description>&lt;P&gt;Why don't you use keywords ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var options = new PromptNestedEntityOptions("\nPick nested entity");
options.Keywords.Add("First");
options.Keywords.Add("Second");&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1663708"&gt;@swaywood&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know PromptSelectionOptions class has UnknownInput Event.&lt;/P&gt;&lt;P&gt;But I want to get user input words in PromptNestedEntityOptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;swaywood&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:51:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7804322#M27196</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2018-02-23T19:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get user input words in NestedEntityOptions</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7804970#M27197</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to let the user get a nested text or user enter a text.&lt;/P&gt;
&lt;P&gt;Keywords need one more step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just like getdist, user can get a dist by pick 2 pts, or user enter a value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case is getting a dbtext.textstring in stead of getdist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the api does not contain this.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 00:13:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7804970#M27197</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2018-02-24T00:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get user input words in NestedEntityOptions</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7805271#M27198</link>
      <description>&lt;P&gt;GetEntity and GetNestedEntity don't support arbitrary input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use GetSelection() to select a single nested entity like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;   public static void PickNestedExample()
   {
      Document doc = Application.DocumentManager.MdiActiveDocument;
      Editor ed = doc.Editor;

      PromptSelectionOptions pso = new PromptSelectionOptions();
      pso.SingleOnly = true;
      pso.SinglePickInSpace = true;
      pso.AllowSubSelections = true;
      pso.PrepareOptionalDetails = true;

      PromptSelectionResult result = ed.GetSelection(pso);

      if(result.Status == PromptStatus.OK)
      {
         ObjectId id = result.Value[0].ObjectId;
         ed.WriteMessage($"\nSelected: {id.ObjectClass.Name}[0x{id.Handle.Value:X}]");
      }
   }



&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1663708"&gt;@swaywood&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to let the user get a nested text or user enter a text.&lt;/P&gt;&lt;P&gt;Keywords need one more step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just like getdist, user can get a dist by pick 2 pts, or user enter a value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case is getting a dbtext.textstring in stead of getdist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe the api does not contain this.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 06:22:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-user-input-words-in-nestedentityoptions/m-p/7805271#M27198</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2018-02-24T06:22:02Z</dc:date>
    </item>
  </channel>
</rss>

