<?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>idea API set default TextNote.LeaderRightAttachment en Revit Ideas</title>
    <link>https://forums.autodesk.com/t5/revit-ideas/api-set-default-textnote-leaderrightattachment/idi-p/11979340</link>
    <description>&lt;P&gt;When creating multiple TextNote elements, it's annoying to have multiple lines after each (cluttering up the code):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;TextNote myTextNote = TextNote.Create(...);
myTextNote.LeaderLeftAttachment = LeaderAtachement.TopLine;
myTextNote.LeaderRightAttachment = LeaderAtachement.TopLine;
TextNote myTextNote2 = TextNote.Create(...);
myTextNote2.LeaderLeftAttachment = LeaderAtachement.TopLine;
myTextNote2.LeaderRightAttachment = LeaderAtachement.TopLine;
etc.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if we could set the default before creating multiple elements. Sure, I'll probably just wind up writing a wrapper class, but if you implement the default functionality it would also solve this problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/set-defaults-for-leader-options-on-text/idi-p/8886542" target="_blank" rel="noopener"&gt;Set Defaults for Leader Options on Text - Autodesk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the API-created text doesn't follow the user's default setting (i.e. it always goes right-bottom, even when the user has already changed the default for that session to right-top). &lt;STRONG&gt;At the minimum, it should follow the user's setting.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 07:37:52 GMT</pubDate>
    <dc:creator>lionel.kai</dc:creator>
    <dc:date>2023-05-22T07:37:52Z</dc:date>
    <item>
      <title>API set default TextNote.LeaderRightAttachment</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/api-set-default-textnote-leaderrightattachment/idi-p/11979340</link>
      <description>&lt;P&gt;When creating multiple TextNote elements, it's annoying to have multiple lines after each (cluttering up the code):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;TextNote myTextNote = TextNote.Create(...);
myTextNote.LeaderLeftAttachment = LeaderAtachement.TopLine;
myTextNote.LeaderRightAttachment = LeaderAtachement.TopLine;
TextNote myTextNote2 = TextNote.Create(...);
myTextNote2.LeaderLeftAttachment = LeaderAtachement.TopLine;
myTextNote2.LeaderRightAttachment = LeaderAtachement.TopLine;
etc.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if we could set the default before creating multiple elements. Sure, I'll probably just wind up writing a wrapper class, but if you implement the default functionality it would also solve this problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/set-defaults-for-leader-options-on-text/idi-p/8886542" target="_blank" rel="noopener"&gt;Set Defaults for Leader Options on Text - Autodesk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the API-created text doesn't follow the user's default setting (i.e. it always goes right-bottom, even when the user has already changed the default for that session to right-top). &lt;STRONG&gt;At the minimum, it should follow the user's setting.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 07:37:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/api-set-default-textnote-leaderrightattachment/idi-p/11979340</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2023-05-22T07:37:52Z</dc:date>
    </item>
  </channel>
</rss>

