<?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: Catch iLogic exceptions/errors via API (external program) in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995650#M54331</link>
    <description>&lt;P&gt;You may explore the iLogic's automation. It has a property&amp;nbsp;.RuleExceptionsLog documented at:&lt;BR /&gt;&lt;A href="http://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=88f75594-dc20-e503-f909-e527fd712a36" target="_blank"&gt;http://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=88f75594-dc20-e503-f909-e527fd712a36&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 12:59:56 GMT</pubDate>
    <dc:creator>AlexKorzun</dc:creator>
    <dc:date>2021-01-12T12:59:56Z</dc:date>
    <item>
      <title>Catch iLogic exceptions/errors via API (external program)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995292#M54330</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to somehow catch iLogic exceptions/errors via API, for example in an addin or application?&lt;/P&gt;&lt;P&gt;For example, if wrong input is provided in a model, an iLogic rule can give an exception which isn't caught in the iLogic rule.&lt;/P&gt;&lt;P&gt;I know that the rule ofcourse should be programmed correctly, so that errors will be caught there, but sometimes I want iLogic to give me the exceptions and I want to be able to catch them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My situation: I have an external program, which launches Inventor and does some actions.&lt;/P&gt;&lt;P&gt;In some cases, an iLogic rule in the model can give an exception, which causes my program to 'freeze'.&lt;/P&gt;&lt;P&gt;I want to know if it's possible to catch these exceptions and continue and be able to return the error message to the program.&lt;/P&gt;&lt;P&gt;For example via events if there are any in the iLogic automation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 10:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995292#M54330</guid>
      <dc:creator>Majjek</dc:creator>
      <dc:date>2021-01-12T10:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Catch iLogic exceptions/errors via API (external program)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995650#M54331</link>
      <description>&lt;P&gt;You may explore the iLogic's automation. It has a property&amp;nbsp;.RuleExceptionsLog documented at:&lt;BR /&gt;&lt;A href="http://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=88f75594-dc20-e503-f909-e527fd712a36" target="_blank"&gt;http://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=88f75594-dc20-e503-f909-e527fd712a36&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 12:59:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995650#M54331</guid>
      <dc:creator>AlexKorzun</dc:creator>
      <dc:date>2021-01-12T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Catch iLogic exceptions/errors via API (external program)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995702#M54332</link>
      <description>&lt;P&gt;Thanks for the fast response, I was already browsing through this documentation.&lt;/P&gt;&lt;P&gt;I was about to do some tests, with silentoperation in combination with the exceptionslog.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 13:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995702#M54332</guid>
      <dc:creator>Majjek</dc:creator>
      <dc:date>2021-01-12T13:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Catch iLogic exceptions/errors via API (external program)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995925#M54333</link>
      <description>&lt;P&gt;I managed to reach my goal by using SilentOperation of the iLogic Automation to prevent the error window from popping up.&lt;/P&gt;&lt;P&gt;Afterwards I was able to view all the occurred exceptions via the ExceptionsLog.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:35:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/catch-ilogic-exceptions-errors-via-api-external-program/m-p/9995925#M54333</guid>
      <dc:creator>Majjek</dc:creator>
      <dc:date>2021-01-12T14:35:56Z</dc:date>
    </item>
  </channel>
</rss>

