<?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 Text alignments in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6272246#M66380</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Revit 2016 I used the following to create a textnote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TextNote tn = sheet.Document.Create.NewTextNote(sheet, pos, XYZ.BasisX, XYZ.BasisY, bbox.Max.X - bbox.Min.X, align, res)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has become obsolete in 2017 and now I must use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TextNote tn = TextNote.Create(sheet.Document, sheet.Id, pos, bbox.Max.X - bbox.Min.X, res, tnOptions);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem is,the tnOptions only has a handle for horizontal alignment. Where is the vertical alignment ?? And how can I set the BaseVec and UpVec ? Prior in the class&amp;nbsp;TextAlignFlags.&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>Fri, 15 Apr 2016 05:45:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-15T05:45:51Z</dc:date>
    <item>
      <title>Text alignments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6272246#M66380</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Revit 2016 I used the following to create a textnote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TextNote tn = sheet.Document.Create.NewTextNote(sheet, pos, XYZ.BasisX, XYZ.BasisY, bbox.Max.X - bbox.Min.X, align, res)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has become obsolete in 2017 and now I must use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TextNote tn = TextNote.Create(sheet.Document, sheet.Id, pos, bbox.Max.X - bbox.Min.X, res, tnOptions);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem is,the tnOptions only has a handle for horizontal alignment. Where is the vertical alignment ?? And how can I set the BaseVec and UpVec ? Prior in the class&amp;nbsp;TextAlignFlags.&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>Fri, 15 Apr 2016 05:45:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6272246#M66380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T05:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Text alignments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6309602#M66381</link>
      <description>Property VerticalAlignment in&amp;nbsp;class TextElement was introduced started with Revit 2016,but it's READONLY even in 2017.&lt;BR /&gt;Yes. vertical alignment was dropped out.&lt;BR /&gt;&lt;BR /&gt;temporarily I just added Y asix to achieve this alignment-like&lt;BR /&gt;I hope there's a solution in next update.</description>
      <pubDate>Thu, 05 May 2016 07:33:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6309602#M66381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-05T07:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Text alignments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6315014#M66382</link>
      <description>&lt;P&gt;Dear Remy and Enonrick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query and update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a well-known and intentional change introduced in the Revit 2016 API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Afaik, the vertical alignment possibility should never have been implemented.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Arnost explained it in detail in this discussion thread on creating a textnote with the 2016 API changes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api/creating-a-textnote-with-the-2016-api-changes/m-p/5629284" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/creating-a-textnote-with-the-2016-api-changes/m-p/5629284&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also refer to the comments by David Rushforth on What's New in the Revit 2016 API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/04/whats-new-in-the-revit-2016-api.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/04/whats-new-in-the-revit-2016-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For future reference, please let us know how you end up resolving this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 09:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6315014#M66382</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-05-09T09:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text alignments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6317051#M66383</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for replied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my cases,I purposed to output some "Marker" in Drafting View which is a number in circle presented by attachment.&lt;/P&gt;&lt;P&gt;Without Vertical Alignment,I need to adjust Y axis to comply the RIGHT POSITION especially in a variety of font sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it have good approach to do this better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 03:38:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6317051#M66383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-10T03:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text alignments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6317201#M66384</link>
      <description>thanx jeremy, it's funny I never noticed this in 2016 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 10 May 2016 06:44:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/text-alignments/m-p/6317201#M66384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-10T06:44:58Z</dc:date>
    </item>
  </channel>
</rss>

