<?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: selectionfilter paperspace text height in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556283#M40901</link>
    <description>&lt;P&gt;I debugged your code in vb and i see that it gets a value of "1:10" out of Databaseservices.AnnotationScale.&lt;/P&gt;&lt;P&gt;Unfortunately i can't use that as an expression so i tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Dim WFO(0) As TypedValue&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;'' Create a TypedValue array to define the filter criteria&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WFO.SetValue(New TypedValue(DxfCode.Start, "1:10"), 0)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should find the right entity but it doesnt find anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: I see now that dxfcode.start looks for an entitytype so thats why it doesnt work with 1:10.&lt;/P&gt;&lt;P&gt;I can't find any dxfcode that looks for values &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2015 08:32:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-25T08:32:14Z</dc:date>
    <item>
      <title>selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5549776#M40894</link>
      <description>&lt;P&gt;I'm trying to change the color of all text depending on papersize textheight.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;selection.SetValue(New TypedValue(DxfCode.txtsize,&amp;nbsp;500), 0)&lt;/STRONG&gt;&lt;/EM&gt; works but it selects on model height and not paperspace height.&lt;/P&gt;&lt;P&gt;I can't find a dxfcode for&amp;nbsp;paperspacesize (42:&amp;nbsp;TxtStylePSize doesnt work) so i'm trying to find a dxfcode for annotative scale to combine it with model hieght.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;selection.SetValue(New TypedValue(DxfCode.TxtStyleXScale, 100), 0)&lt;/EM&gt;&lt;/STRONG&gt; somehow selects blocks with 1:100 annotative scale but no text.&lt;/P&gt;&lt;P&gt;Does anyone know how to select text with a specific scale or any other way around to select text on paperspacesize?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 08:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5549776#M40894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5552885#M40895</link>
      <description>Use SCALETEXT, in that you fill find option for Paper Height, this is only valid for annotative objects.</description>
      <pubDate>Mon, 23 Mar 2015 12:05:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5552885#M40895</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2015-03-23T12:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554450#M40896</link>
      <description>&lt;P&gt;I don't want to scale any text. I only want to change the color of all text depending on paper textheight so that the thickness&amp;nbsp;matches the text height.&lt;/P&gt;&lt;P&gt;So all text with a paper textheight of 2.5 should change to a&amp;nbsp;color that has a thickness of 1/10 of 2.5&amp;nbsp;wich means 0.25.&lt;/P&gt;&lt;P&gt;3.5 --&amp;gt;&amp;nbsp;0.35, 5.0 --&amp;gt;&amp;nbsp;0.5, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant use cannoscale because each piece of text can have a different scale. All text of our drwaings is annovative and often we have scales of 1:100, 1:20 and 1:10 in one drawing so i really need to filter on annotative scale or paper textheight wich i begin to think is impossible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 08:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554450#M40896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T08:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554498#M40897</link>
      <description>&lt;P&gt;Sorry, but I have not understood correctly, can you do what you said interactively ?, can you share that sample demo video I will try to understand and let you know if it possible or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I only want to change the color of all text depending on paper textheight so that the thickness&amp;nbsp;matches the text height.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didnt get this,&amp;nbsp;thickness of which entity should match ? do you mean font size of the text ?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 09:19:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554498#M40897</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2015-03-24T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554532#M40898</link>
      <description>&lt;P&gt;yes the font size (paperspace, not modelspace) has to match the thickness of the text (thickness is determined by the color).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. select all&amp;nbsp;text&lt;/P&gt;&lt;P&gt;2. get the fontsize entity (paperspace)&lt;/P&gt;&lt;P&gt;3. &amp;nbsp; &amp;nbsp;If fontsize is around 2.5 --&amp;gt; set the color to yellow (has a 0.25 penthickness in our pentable)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;&amp;nbsp;If fontsize is around 3.5 --&amp;gt; set the color to green&amp;nbsp;(has a 0.35 penthicknessin our pentable)&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If fontsize is around 5 --&amp;gt; set the color to blue&amp;nbsp;&lt;SPAN&gt;(has a 0.5 penthickness&amp;nbsp;in our pentable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This should work in a single command. When you press the command then all text in the drawing will get the right color.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For example, if i have scaled several blue text pieces with&amp;nbsp;a fontsize (paperspace) of 5 in half then the fontsize is 2.5 but the color is still blue.&lt;/P&gt;&lt;P&gt;If i now use my command, all scaled text will change&amp;nbsp;to the proper color wich matches the fontsize.&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, 24 Mar 2015 09:45:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5554532#M40898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5555017#M40899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Those two DXF codes gives&amp;nbsp; Model height and Model Width, sadly I couldn't find an easy way for you, you have resort to brute force method, getting all text entities and find if each text entity has said annotation scale, like suppose I have a Mtext whose annotation scale 1:10, then I can check like all text entities like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Document doc = Application.DocumentManager.MdiActiveDocument;
          Database db = doc.Database;
          Editor ed = doc.Editor;
          ObjectContextManager ocm = db.ObjectContextManager;
          ObjectContextCollection occ = ocm.GetContextCollection("ACDB_ANNOTATIONSCALES");
          PromptSelectionOptions pso = new PromptSelectionOptions();
          pso.MessageForAdding = "\nSelect annotative objects";
          PromptSelectionResult psr = ed.GetSelection(pso);
          if (psr.Status != PromptStatus.OK) return;
          using (Transaction t = db.TransactionManager.StartTransaction())
          {
              if (!occ.HasContext(db.Cannoscale.Name))
              {
                  ed.WriteMessage("\nCannot find current annotation scale.");
                  return;
              }
              ObjectContext curCtxt = occ.GetContext("1:10");
              foreach (SelectedObject so in psr.Value)
              {
                  ObjectId id = so.ObjectId;
                  DBObject obj = t.GetObject(id, OpenMode.ForRead);
                  if (obj.Annotative == AnnotativeStates.True &amp;amp;&amp;amp; obj.HasContext(curCtxt))
                  {
                      ed.WriteMessage("yup got it");
                  }
              }
              t.Commit();

          }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:38:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5555017#M40899</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2015-03-24T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5555165#M40900</link>
      <description>&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;I'm not experienced with C# so i used your exact code in a new project and if i select a 1:10 text it says "yup got it" !! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp;can i find out wich entity has 1:10 as value?&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, 24 Mar 2015 15:44:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5555165#M40900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T15:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556283#M40901</link>
      <description>&lt;P&gt;I debugged your code in vb and i see that it gets a value of "1:10" out of Databaseservices.AnnotationScale.&lt;/P&gt;&lt;P&gt;Unfortunately i can't use that as an expression so i tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Dim WFO(0) As TypedValue&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;'' Create a TypedValue array to define the filter criteria&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WFO.SetValue(New TypedValue(DxfCode.Start, "1:10"), 0)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should find the right entity but it doesnt find anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: I see now that dxfcode.start looks for an entitytype so thats why it doesnt work with 1:10.&lt;/P&gt;&lt;P&gt;I can't find any dxfcode that looks for values &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:32:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556283#M40901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556308#M40902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't make such selection based on DXF code, we don't have appropriate DXFCode to filter out Text entities based on Paper height or Annotation scale,&lt;/P&gt;
&lt;P&gt;so you need to follow this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Find all Text entities.&lt;/LI&gt;
&lt;LI&gt;Now iterate through each text entity and check if this entity has context of "1:10" [Assuming these the scale you are looking for]&lt;/LI&gt;
&lt;LI&gt;if check succeeded,put this text entity in a collection or else continue&lt;/LI&gt;
&lt;LI&gt;Get the collection, and apply your futher process on these entities.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On point 2, you can have multiple test checks like Scale and&amp;nbsp; Model height,&amp;nbsp; since PaperHeight = Model Height / Scale or other way do the math, I don't remember.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can convert C# code to VB.NET easily there are many translators availble.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do let me know if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:48:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556308#M40902</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2015-03-25T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556864#M40903</link>
      <description>&lt;P&gt;It's working but the problem is that i can't get the modelspaceheight from&amp;nbsp;obj or id.&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;multiple things like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If obj.Annotative = AnnotativeStates.True And obj.HasContext(scale10) Then&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If id.Database.Textsize &amp;lt; 21.5 Then&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;acEnt.ColorIndex = 1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If id.Database.Textsize &amp;gt; 21.5 And Val(obj.Database.Textsize) &amp;lt; 30 Then&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '' Change the object's color&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;acEnt.ColorIndex = 7&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;End If&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I debugged it and&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;id.Database.Textsize&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;stays the same value. It should change because id (acSSObj.ObjectId) is the selected object from the selection filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can filter the modelspaceheight in the selectionfilter but for example a modelspaceheight of 100 can be&lt;/P&gt;&lt;P&gt;papertextheight: &lt;STRONG&gt;2&lt;/STRONG&gt; scale: &lt;STRONG&gt;1:50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;papertextheight: &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;scale: &lt;/SPAN&gt;&lt;STRONG&gt;1:100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;papertextheight:&lt;STRONG&gt;&lt;SPAN&gt; 5&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;1:20&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;so i'm not filtering anything that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it's a tough problem and you have helped me a lot (thanks for that!) but&amp;nbsp;can you help me further?&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;&lt;P&gt;&amp;nbsp;&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;&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>Wed, 25 Mar 2015 14:25:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5556864#M40903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: selectionfilter paperspace text height</title>
      <link>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5557044#M40904</link>
      <description>&lt;P&gt;I worked a way around!&lt;/P&gt;&lt;P&gt;It's a pretty rediculous way but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For count = 0 To 435&lt;BR /&gt;If count &amp;lt;&amp;gt; 0 Then count = count - 1&lt;BR /&gt;count2 = count2 + 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' Start a transaction&lt;BR /&gt;Using acTrans As Transaction = db.TransactionManager.StartTransaction()&lt;/P&gt;&lt;P&gt;Dim WFO(9) As TypedValue&lt;/P&gt;&lt;P&gt;'' Create a TypedValue array to define the filter criteria&lt;/P&gt;&lt;P&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;AND"), 0)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;OR"), 1)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Start, "TEXT"), 2)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Start, "MTEXT"), 3)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "OR&amp;gt;"), 4)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "&amp;gt;="), 5)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.TxtSize, count), 6)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;"), 7)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.TxtSize, count2), 8)&lt;BR /&gt;WFO.SetValue(New TypedValue(DxfCode.Operator, "AND&amp;gt;"), 9)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;count = count +5&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;count is an pretty acurate modelspaceheight so i can use it later in the code to get the paperspaceheight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for all your help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:48:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selectionfilter-paperspace-text-height/m-p/5557044#M40904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T15:48:17Z</dc:date>
    </item>
  </channel>
</rss>

