<?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 Detecting invalid modeling operations in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/detecting-invalid-modeling-operations/m-p/11624110#M4804</link>
    <description>&lt;P&gt;I am curious whether there is a way to know whether a modeling operation in Python code will be valid or not. E.g. for sweeping. I'm wondering whether it's possible to iterate through a range of parameters and identify those that will produce e.g. a valid sweep. Do we have any information available to us in the API to help with this?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 03:31:43 GMT</pubDate>
    <dc:creator>gel19</dc:creator>
    <dc:date>2022-12-16T03:31:43Z</dc:date>
    <item>
      <title>Detecting invalid modeling operations</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/detecting-invalid-modeling-operations/m-p/11624110#M4804</link>
      <description>&lt;P&gt;I am curious whether there is a way to know whether a modeling operation in Python code will be valid or not. E.g. for sweeping. I'm wondering whether it's possible to iterate through a range of parameters and identify those that will produce e.g. a valid sweep. Do we have any information available to us in the API to help with this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 03:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/detecting-invalid-modeling-operations/m-p/11624110#M4804</guid>
      <dc:creator>gel19</dc:creator>
      <dc:date>2022-12-16T03:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting invalid modeling operations</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/detecting-invalid-modeling-operations/m-p/11630036#M4805</link>
      <description>&lt;P&gt;The only way to verify if a modeling operation will be successful is to try creating and then check the result. The creation may completely fail, or it might complete with an error, which you can check for by using the &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-27E0061C-490E-47FA-96ED-2E2716D335FD" target="_blank" rel="noopener"&gt;Feature.healthState&lt;/A&gt; and &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5465336F-23BA-4CED-B7E4-6856AA6C36F1" target="_blank" rel="noopener"&gt;Feature.errorOrWarningMessage&lt;/A&gt; properties. That's effectively what the command is doing, although it can execute the creation at a lower level, so it's a bit more efficient, but it is still attempting to create the feature and verify if the creation was successful or not.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 16:48:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/detecting-invalid-modeling-operations/m-p/11630036#M4805</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2022-12-19T16:48:29Z</dc:date>
    </item>
  </channel>
</rss>

