<?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: DrawingView.IsTextPropertySource always returns False in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/11637681#M30132</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/495350"&gt;@nannerdw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see a&amp;nbsp;&lt;SPAN&gt;DrawingView.IsTextPropertySource method in the API help. Can you explain a little more the method your looking to implement? Maybe how you would go about manually achieving the solution with some images etc.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 00:05:49 GMT</pubDate>
    <dc:creator>A.Acheson</dc:creator>
    <dc:date>2022-12-23T00:05:49Z</dc:date>
    <item>
      <title>DrawingView.IsTextPropertySource always returns False</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/11573652#M30131</link>
      <description>&lt;P&gt;I can use a sheet's TextPropertySource to get a string representation of that drawing view's name.&amp;nbsp; However, getting the actual view object associated with that string is not as straightforward as it should be, since that string contains different information depending on whether the view contains model states or a snapshot view from an IPN file.&amp;nbsp; It also follows a slightly different naming convention than the DrawingView's BrowserNode name.&lt;BR /&gt;&lt;BR /&gt;I would like to just loop through all drawing views on a sheet instead, and find the one that has IsTextPropertySource = True, but I think there is a bug in Inventor that prevents IsTextPropertySource from ever returning True.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 17:08:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/11573652#M30131</guid>
      <dc:creator>nannerdw</dc:creator>
      <dc:date>2022-11-23T17:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: DrawingView.IsTextPropertySource always returns False</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/11637681#M30132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/495350"&gt;@nannerdw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see a&amp;nbsp;&lt;SPAN&gt;DrawingView.IsTextPropertySource method in the API help. Can you explain a little more the method your looking to implement? Maybe how you would go about manually achieving the solution with some images etc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 00:05:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/11637681#M30132</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-12-23T00:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: DrawingView.IsTextPropertySource always returns False</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209329#M30133</link>
      <description>&lt;P&gt;ThisDoc.ModelDocument returns the document that is associated with the first sheet's "Text Property Source" (which is assigned from the "Edit Sheet" dialog).&lt;BR /&gt;This document shows up as the &amp;lt;Primary Model&amp;gt; when adding iProperties to a text note.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there is no equivalent "Sheet.ModelDocument" in the API, which would allow me to get the "Text Property Source" document for all sheets of a drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, I wanted to use Sheet.TextPropertySource.&amp;nbsp; However, it only returns the DrawingView's name formatted in a non-standard way, rather than the DrawingView object itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As another workaround, I wanted to use DrawingView.IsTextPropertySource, except there is a bug that makes it always return False for every drawing view.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 12:21:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209329#M30133</guid>
      <dc:creator>nannerdw</dc:creator>
      <dc:date>2023-08-31T12:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: DrawingView.IsTextPropertySource always returns False</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209568#M30134</link>
      <description>&lt;P&gt;These are the links to the two properties being mentioned here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingView_IsTextPropertySource" target="_blank" rel="noopener"&gt;DrawingView.IsTextPropertySource&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Sheet_TextPropertySource" target="_blank" rel="noopener"&gt;Sheet.TextPropertySource&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are optional tools, and are only useful when you have more than one model file being directly referenced in the drawing document.&amp;nbsp; If you have a different model file being shown in views on each sheet of your drawing, you sometimes want the iProperty links shown on that sheet to only be referencing the model shown on that sheet, and that is where these tools can come in handy.&amp;nbsp; If you only have one model in your drawing, you can get a reference to that model using the simple ThisDoc.ModelDocument, or ThisDrawing.ModelDocument type iLogic snippets.&amp;nbsp; The DrawingView.IsTextPropertySource will likely remain False until you change it, either manually, or by code, on purpose, and will only work on 'Base View' type views.&amp;nbsp; Same with the Sheet.TextPropertySource...it will only return the 'regular' name of the view on that sheet that has been set as the source of iProperties on that sheet.&amp;nbsp; But if you have not specified any of them that way, it might simply be useless to you.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 13:30:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209568#M30134</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-08-31T13:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: DrawingView.IsTextPropertySource always returns False</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209623#M30135</link>
      <description>&lt;P&gt;What is the most robust way of detecting which model's iProperties are shown on a sheet?&lt;BR /&gt;I'm considering adding the &amp;lt;Primary or Attached Model&amp;gt;'s &amp;lt;FILENAME AND PATH&amp;gt; to my border on a hidden layer, so I can query its FormattedText and Text.&lt;BR /&gt;&lt;BR /&gt;Alternatively, I might prompt the user to select a view if more than one model is present, so IsTextPropertySource can be assigned properly.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/drawingview-istextpropertysource-always-returns-false/m-p/12209623#M30135</guid>
      <dc:creator>nannerdw</dc:creator>
      <dc:date>2023-08-31T14:01:22Z</dc:date>
    </item>
  </channel>
</rss>

