<?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 use dxfcode.textfontfile , dxfcode.lineweight in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4414707#M47718</link>
    <description>&lt;P&gt;and i also have some question .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i get text and mtext properties on the drawing, such as text font, text height, text width&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim acTypValAr(2) As TypedValue&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;AND"), 0)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Start, "TEXT,MTEXT"), 1)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "AND&amp;gt;"), 2)&lt;/P&gt;&lt;P&gt;Dim acSelFtr As SelectionFilter = New SelectionFilter(acTypValAr)&lt;/P&gt;&lt;P&gt;Dim acSSPrompt As PromptSelectionResult&lt;BR /&gt;acSSPrompt = acDocEd.SelectAll(acSelFtr)&lt;/P&gt;&lt;P&gt;If acSSPrompt.Status = PromptStatus.OK Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' get text font, text hieght, text wdth&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End If&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2013 13:28:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-10T13:28:32Z</dc:date>
    <item>
      <title>how to use dxfcode.textfontfile , dxfcode.lineweight</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4413617#M47717</link>
      <description>&lt;P&gt;Public Class Zoom&lt;BR /&gt;&amp;lt;CommandMethod("ZO")&amp;gt; _&lt;BR /&gt;Public Sub ZO()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim acDoc As Document = Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument&lt;BR /&gt;Dim acDocEd As Editor = Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;Dim acCurDb As Database = acDoc.Database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dim acTypValAr(4) As TypedValue&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;AND"), 0)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Start, "TEXT,MTEXT"), 1)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.TextFontFile, "txt"), 2)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;acTypValAr.SetValue(New TypedValue(DxfCode.lineweight, lineweight.lineweight030),3)&lt;/SPAN&gt;&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "AND&amp;gt;"), 4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim acSelFtr As SelectionFilter = New SelectionFilter(acTypValAr)&lt;/P&gt;&lt;P&gt;Dim acSSPrompt As PromptSelectionResult&lt;BR /&gt;acSSPrompt = acDocEd.SelectAll(acSelFtr)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If acSSPrompt.Status &amp;lt;&amp;gt; PromptStatus.OK Then&lt;BR /&gt;Return&lt;BR /&gt;End If&lt;BR /&gt;Dim idCol As New ObjectIdCollection(acSSPrompt.Value.GetObjectIds())&lt;BR /&gt;ZoomObjects(idCol)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;acTypValAr.SetValue(New TypedValue(DxfCode.TextFontFile, "txt"), 2)&lt;/P&gt;&lt;P&gt;acTypValAr.SetValue(New TypedValue(DxfCode.lineweight, lineweight.lineweight030),3)&lt;/P&gt;&lt;P&gt;this two lines do not work.&lt;/P&gt;&lt;P&gt;what problem is it ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and does it exist text hiegh and text width on dxfcode???&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 09:20:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4413617#M47717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dxfcode.textfontfile , dxfcode.lineweight</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4414707#M47718</link>
      <description>&lt;P&gt;and i also have some question .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i get text and mtext properties on the drawing, such as text font, text height, text width&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim acTypValAr(2) As TypedValue&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "&amp;lt;AND"), 0)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Start, "TEXT,MTEXT"), 1)&lt;BR /&gt;acTypValAr.SetValue(New TypedValue(DxfCode.Operator, "AND&amp;gt;"), 2)&lt;/P&gt;&lt;P&gt;Dim acSelFtr As SelectionFilter = New SelectionFilter(acTypValAr)&lt;/P&gt;&lt;P&gt;Dim acSSPrompt As PromptSelectionResult&lt;BR /&gt;acSSPrompt = acDocEd.SelectAll(acSelFtr)&lt;/P&gt;&lt;P&gt;If acSSPrompt.Status = PromptStatus.OK Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' get text font, text hieght, text wdth&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End If&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 13:28:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4414707#M47718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T13:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dxfcode.textfontfile , dxfcode.lineweight</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4414825#M47719</link>
      <description>&lt;P&gt;did you check the below link:&lt;BR /&gt;&lt;BR /&gt;&lt;A target="_blank" href="http://exchange.autodesk.com/autocad/enu/online-help/search#WS1a9193826455f5ff18cb41610ec0a2e719-7a62.htm"&gt;http://exchange.autodesk.com/autocad/enu/online-help/search#WS1a9193826455f5ff18cb41610ec0a2e719-7a62.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also check below links for MTEXT and TEXT group code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://exchange.autodesk.com/autocad/enu/online-help/browse#WS1a9193826455f5ff18cb41610ec0a2e719-79d1.htm"&gt;http://exchange.autodesk.com/autocad/enu/online-help/browse#WS1a9193826455f5ff18cb41610ec0a2e719-79d1.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://exchange.autodesk.com/autocad/enu/online-help/browse#WS1a9193826455f5ff18cb41610ec0a2e719-79f8.htm"&gt;http://exchange.autodesk.com/autocad/enu/online-help/browse#WS1a9193826455f5ff18cb41610ec0a2e719-79f8.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;You can also use system variable. if you want to use selection filter, I will recommend you to use different color for different object. Filter with color is also available&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 14:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dxfcode-textfontfile-dxfcode-lineweight/m-p/4414825#M47719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T14:13:26Z</dc:date>
    </item>
  </channel>
</rss>

