<?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: API Crash bug when creating fitted spline. in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8908290#M13873</link>
    <description>&lt;P&gt;Just to let you know We have a separate page specifically for API queries. Please take a look at&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/fusion-360-api-and-scripts/bd-p/22" target="_blank"&gt;https://forums.autodesk.com/t5/fusion-360-api-and-scripts/bd-p/22&lt;/A&gt;. &amp;nbsp;In case you have any further queries, you might like to post it there and it will help to get faster response. Thanks.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jul 2019 13:08:05 GMT</pubDate>
    <dc:creator>goyals</dc:creator>
    <dc:date>2019-07-14T13:08:05Z</dc:date>
    <item>
      <title>API Crash bug when creating fitted spline.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8901672#M13870</link>
      <description>&lt;P&gt;When calling sketchCurves.sketchFittedSplines.add(pointlist) using a list of two points with just two Point3D coordinates (all zeros: [[0,0,0],[0,0,0]]), the add function throws an InternalValidationError, instead of returning a None/null as specified by the &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-97e2168d-7556-40ca-a1f2-580cc9ff3831" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:47:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8901672#M13870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T16:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: API Crash bug when creating fitted spline.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8901682#M13871</link>
      <description>&lt;P&gt;The thrown error is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;---------------------------
Fusion 360
---------------------------

  ...snip...
    self.fittedSpline = activeSketch.sketchCurves.sketchFittedSplines.add(self.points)     # TODO - Evaluate the first/last point for merge/close
  File "C:/Users/zarth/AppData/Local/Autodesk/webdeploy/production/79ccc336d91fd2d46ed87a5b819b04c15b878e83/Api/Python/packages\adsk\fusion.py", line 26338, in add
    return _fusion.SketchFittedSplines_add(self, *args)
RuntimeError: 2 : InternalValidationError : createdSpline

---------------------------
OK   
---------------------------&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:50:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8901682#M13871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: API Crash bug when creating fitted spline.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8908100#M13872</link>
      <description>&lt;P&gt;There are two types of validation done by API. One is client inputs validation. In case wrong arguments passed to API then API throws exceptions passing the error message to the script and second If API failed to create geometry with passed inputs. I agree We have really not documented all the errors an API can return but I do not think it is causing any crash in Fusion. Python will stop further execution of script if an unhandled exception occurs.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 06:44:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8908100#M13872</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2019-07-14T06:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: API Crash bug when creating fitted spline.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8908290#M13873</link>
      <description>&lt;P&gt;Just to let you know We have a separate page specifically for API queries. Please take a look at&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/fusion-360-api-and-scripts/bd-p/22" target="_blank"&gt;https://forums.autodesk.com/t5/fusion-360-api-and-scripts/bd-p/22&lt;/A&gt;. &amp;nbsp;In case you have any further queries, you might like to post it there and it will help to get faster response. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 13:08:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/api-crash-bug-when-creating-fitted-spline/m-p/8908290#M13873</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2019-07-14T13:08:05Z</dc:date>
    </item>
  </channel>
</rss>

