<?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 yellow sketchCurve objects in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8403613#M15195</link>
    <description>&lt;P&gt;Scenario: UI (user) generated model shows warnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select the yellow geometry (via script/API) the SketchCurve properties return these states:&lt;/P&gt;&lt;P&gt;-&amp;gt;isReference()&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true (why? reference ist lost, see screenshot)&lt;/P&gt;&lt;P&gt;-&amp;gt;isValid()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true (why?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) is this behavior "as designed"?&lt;/P&gt;&lt;P&gt;2) how can I detect (through API) whether a specific sketch-curve is yellow (reference is lost) or not?&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="yellow sketch geometry.PNG" style="width: 745px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/569880i478B100531D8A6B7/image-dimensions/745x405?v=v2" width="745" height="405" role="button" title="yellow sketch geometry.PNG" alt="yellow sketch geometry.PNG" /&gt;&lt;/span&gt;&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="sketch warning.PNG" style="width: 527px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/569879iD54094F731C7E580/image-dimensions/527x260?v=v2" width="527" height="260" role="button" title="sketch warning.PNG" alt="sketch warning.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2018 09:52:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-15T09:52:44Z</dc:date>
    <item>
      <title>yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8403613#M15195</link>
      <description>&lt;P&gt;Scenario: UI (user) generated model shows warnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select the yellow geometry (via script/API) the SketchCurve properties return these states:&lt;/P&gt;&lt;P&gt;-&amp;gt;isReference()&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true (why? reference ist lost, see screenshot)&lt;/P&gt;&lt;P&gt;-&amp;gt;isValid()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true (why?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) is this behavior "as designed"?&lt;/P&gt;&lt;P&gt;2) how can I detect (through API) whether a specific sketch-curve is yellow (reference is lost) or not?&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="yellow sketch geometry.PNG" style="width: 745px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/569880i478B100531D8A6B7/image-dimensions/745x405?v=v2" width="745" height="405" role="button" title="yellow sketch geometry.PNG" alt="yellow sketch geometry.PNG" /&gt;&lt;/span&gt;&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="sketch warning.PNG" style="width: 527px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/569879iD54094F731C7E580/image-dimensions/527x260?v=v2" width="527" height="260" role="button" title="sketch warning.PNG" alt="sketch warning.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 09:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8403613#M15195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8404195#M15196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Collaborator lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;A class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/304042" target="_self"&gt;Manfred.Steinba&lt;WBR /&gt;ch&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Collaborator lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;It seems that you can judge by Sketch.healthState Property.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Collaborator lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F47F1C6E-3008-4E54-B5B9-DB0211977B2C" target="_blank"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F47F1C6E-3008-4E54-B5B9-DB0211977B2C&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 14:26:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8404195#M15196</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2018-11-15T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8404287#M15197</link>
      <description>&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m looking for a way to examine the SketchCurve-objects in an unhealthy Sketch (that I already identified with -&amp;gt;healthState() property). Some SketchCurve-objects might be ok, others are not ok and lost their reference - but which ones?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 15:01:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8404287#M15197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T15:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8414268#M15198</link>
      <description>&lt;P&gt;There is another method on SketchEntity to get the referencedEntity if isReferenced is returning True. This method is successful only if referencedEntity is present otherwise it throws exception which is not elegant in my opinion. May be you can write a method and catch the exception thrown and return True/False based on whether exception is thrown or not.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 18:55:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8414268#M15198</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2018-11-20T18:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8414523#M15199</link>
      <description>&lt;P&gt;Yep, I already tried that - and as a result ran into this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/fusion-360-api-and-scripts/problem-with-property-referencedentity-on-sketchcurves/m-p/8314785#M6709" target="_blank"&gt;https://forums.autodesk.com/t5/fusion-360-api-and-scripts/problem-with-property-referencedentity-on-sketchcurves/m-p/8314785#M6709&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless thank you &lt;EM&gt;&lt;STRONG&gt;very much&lt;/STRONG&gt;&lt;/EM&gt; for your feedback - because now I definitely know that I did not miss any other possibility to solve my problem. I´m looking forward to the december update with a fix for the current referencedEntity() limitation.&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>Tue, 20 Nov 2018 20:39:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8414523#M15199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-20T20:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: yellow sketchCurve objects</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8432665#M15200</link>
      <description>&lt;P&gt;The referencedEntity() bug is fixed with Fusion 360 release 2.0.5044 - so I also have a solution for the problem posted in this thread -&amp;gt; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/yellow-sketchcurve-objects/m-p/8432665#M15200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T09:56:48Z</dc:date>
    </item>
  </channel>
</rss>

