<?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 Formatted Text Changing Source, Type and Property in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239484#M181594</link>
    <description>&lt;P&gt;Has anyone had the opportunity of going down the formatted text rabbit hole? If so did you find a way to change these mystical properties? Please share. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiffany_Hayden__0-1787229193856.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657354iE10D115203E2451D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiffany_Hayden__0-1787229193856.png" alt="Tiffany_Hayden__0-1787229193856.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2026 12:35:11 GMT</pubDate>
    <dc:creator>Tiffany_Hayden_</dc:creator>
    <dc:date>2026-08-20T12:35:11Z</dc:date>
    <item>
      <title>Formatted Text Changing Source, Type and Property</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239484#M181594</link>
      <description>&lt;P&gt;Has anyone had the opportunity of going down the formatted text rabbit hole? If so did you find a way to change these mystical properties? Please share. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiffany_Hayden__0-1787229193856.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657354iE10D115203E2451D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiffany_Hayden__0-1787229193856.png" alt="Tiffany_Hayden__0-1787229193856.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 12:35:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239484#M181594</guid>
      <dc:creator>Tiffany_Hayden_</dc:creator>
      <dc:date>2026-08-20T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatted Text Changing Source, Type and Property</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239541#M181595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7835615"&gt;@Tiffany_Hayden_&lt;/a&gt;.&amp;nbsp; As you may know, there is only one topic about this in Inventor's API online help documentation, which is at the following Link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2027/ENU/?guid=GUID-915B75BA-4696-4fc7-A2C6-54B2BACDE7E1" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2027/ENU/?guid=GUID-915B75BA-4696-4fc7-A2C6-54B2BACDE7E1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I still have not seen a 'silver bullet' code-based solution that makes editing these exactly the way we want them simple &amp;amp; fast.&amp;nbsp; The quickest &amp;amp; simplest way to get that FormattedText the way you want it is to 'reverse engineer' it.&amp;nbsp; To do that, first create the note manually, using the Format Text dialog.&amp;nbsp; Then get the source/owning object by code.&amp;nbsp; Then use an InputBox, where the FormattedText value is input as its 'Default' value (selectable/editable), then let the user edit it when the dialog shows, then apply the edited value back to the property.&amp;nbsp; Or just write its value to the iLogic Log window using a Logger line.&amp;nbsp; Then copy &amp;amp; paste the resulting code back into the larger code you are developing.&lt;/P&gt;
&lt;P&gt;I have seen some others here on the forum go as far as creating special Classes or Modules that reference the System.Data &amp;amp; System.Xml DLL's, creating XML document, and parsing that type of data that way, with custom blocks of code meant to help recognize &amp;amp;/or fill in certain data in the more predictable scenarios.&amp;nbsp; I have done some stuff with XML that way, never really got into it that deep myself, because I never needed to.&lt;/P&gt;
&lt;P&gt;In most cases, there are two (or more) similar Properties of the source object...Text, and FormattedText.&amp;nbsp; In the simplest cases, where only manually typed in text is involved, but no formatting, both may have the same values.&amp;nbsp; But whenever there is any 'Linked' data involved, then the Text property will usually contain what you see in the 'Format Text' dialog, because it will contain what I call 'tagged placeholders' for those Links.&amp;nbsp; Then the FormattedText property will usually contain the further elaborated, necessary XML instructions for those things like {Type, Source, Property, Precision, and any special Formatting}.&amp;nbsp; Then I believe there is a hidden, internal system that 'reads' those XML instructions to replace the placeholders with the resulting 'retrieved/derived' data, which is then only shown to the user after the code process has finished.&amp;nbsp; I have never seen a native tool or resource for getting the actual 'results' from those inputs though, which is why I created an Inventor Ideas post about it (at the following Link).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/add-getresulttext-method-in-inventor-api-for-drawingnote-and/idi-p/13787465?search-action-id=1358406624025&amp;amp;search-result-uid=13787465" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/add-getresulttext-method-in-inventor-api-for-drawingnote-and/idi-p/13787465?search-action-id=1358406624025&amp;amp;search-result-uid=13787465&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 13:20:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239541#M181595</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2026-08-20T13:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formatted Text Changing Source, Type and Property</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239559#M181596</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;Thanks so much! I'm glad I wasn't missing something big. As always, you're a wealth of knowledge! I'll tinker with it and see if I can do anything close to what I need. Appreciate your quick response. Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 13:36:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14239559#M181596</guid>
      <dc:creator>Tiffany_Hayden_</dc:creator>
      <dc:date>2026-08-20T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Formatted Text Changing Source, Type and Property</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14240171#M181602</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7835615"&gt;@Tiffany_Hayden_&lt;/a&gt;&amp;nbsp;( and future interested persons) ... here is a link with an example of what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;mentioned, in case it helps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-change-view-label-text/m-p/12181410#M134386" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-change-view-label-text/m-p/12181410#M134386&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 02:40:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14240171#M181602</guid>
      <dc:creator>Curtis_Waguespack</dc:creator>
      <dc:date>2026-08-21T02:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formatted Text Changing Source, Type and Property</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14240849#M181610</link>
      <description>&lt;P&gt;Thanks so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 16:38:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/formatted-text-changing-source-type-and-property/m-p/14240849#M181610</guid>
      <dc:creator>Tiffany_Hayden_</dc:creator>
      <dc:date>2026-08-21T16:38:28Z</dc:date>
    </item>
  </channel>
</rss>

