<?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: Read out error message of designdoctor in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708262#M59105</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i already reached a workarround that just give me a status&amp;nbsp; (true/false) of a child that obtains the error .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;AssyError = ThisApplication.UserInterfaceManager.Ribbons.Item("Assembly").QuickAccessControls.Item("AppDesignDoctorCmd").ControlDefinition.Enabled&lt;BR /&gt;PartError = ThisApplication.UserInterfaceManager.Ribbons.Item("Part").QuickAccessControls.Item("AppDesignDoctorCmd").ControlDefinition.Enabled&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;But&amp;nbsp;&lt;SPAN&gt;unfortunately no content desription as you wrote ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 13:54:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-24T13:54:16Z</dc:date>
    <item>
      <title>Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9707715#M59101</link>
      <description>&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to read out the messeges txt whats given by designdoctor sign (for childs files of an assy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;em&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ErrorManager&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ErrorManager&lt;/SPAN&gt;
	
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;em&lt;/SPAN&gt;.&lt;SPAN&gt;AllMessages&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;The all mMesseges should give me a xml file as string whith all messages i supose.&lt;BR /&gt;It returns me just : &amp;lt;ErrorsAndWarnings/&amp;gt; as a string (not content)&lt;BR /&gt;&lt;BR /&gt;Can anyone help me with this please ?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:35:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9707715#M59101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-24T08:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708096#M59102</link>
      <description>&lt;P&gt;Can you provide an example scenario and/or a non-confidential file to test possible solutions on?&lt;/P&gt;&lt;P&gt;When you use the ErrorManager.AllMessages, it will normally show you a series of error messages and warnings in a long string, separated into sections using XML tags.&amp;nbsp; But if there hasn't been any error messages and/or warnings prior to calling it, it will only show the one 'self contained' XML tag.&lt;/P&gt;&lt;P&gt;And unfortunately much of the Design Accelerator tools (contents of the Design tab while in an assembly), aren't fully accessible/functional through the API yet.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 12:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708096#M59102</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-08-24T12:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708210#M59103</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As you can see i want to capture the error message on a&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;* Assembly level , like constrain problems as example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;* partlevel , the failed extrusion description (as example)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see schreenshot as example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizo303_0-1598276103950.png" style="width: 318px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/810618i11967B08B5159862/image-dimensions/318x339?v=v2" width="318" height="339" role="button" title="mizo303_0-1598276103950.png" alt="mizo303_0-1598276103950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached also the files with the rules&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So at the end i would like to loop over all childs of an assembly and check if there is an error and add it to a list that i could read out (filename ; error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:38:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708210#M59103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-24T13:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708217#M59104</link>
      <description>&lt;P&gt;Hi @Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ErrorManager only takes into account errors created by the same rule in which it's used. So no already existing errors will be in ErrorManager.AllMessages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some testing creating a hole that has no effect with iLogic. Then I get information about the error with ErrorManager.AllMessages. If I left the error unattended and just ran a rule with the line:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ErrorManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllMessages&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;I got nothing, just like you...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an Idea requesting an object that handles existing errors here. But there are not many votes for it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/new-property-for-existing-errors/idi-p/8868254" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/new-property-for-existing-errors/idi-p/8868254&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:35:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708217#M59104</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-24T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708262#M59105</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i already reached a workarround that just give me a status&amp;nbsp; (true/false) of a child that obtains the error .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;AssyError = ThisApplication.UserInterfaceManager.Ribbons.Item("Assembly").QuickAccessControls.Item("AppDesignDoctorCmd").ControlDefinition.Enabled&lt;BR /&gt;PartError = ThisApplication.UserInterfaceManager.Ribbons.Item("Part").QuickAccessControls.Item("AppDesignDoctorCmd").ControlDefinition.Enabled&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;But&amp;nbsp;&lt;SPAN&gt;unfortunately no content desription as you wrote ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708262#M59105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-24T13:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708279#M59106</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I tried to explain was that the ErrorManager only works if the code itself is the cause of the error.&lt;/P&gt;&lt;P&gt;If the error already exist prior to the code being run, It'll return nothing....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached ipt as an example. First run Rule1 and you'll get a correct error message. If you just leave the error there and then run Rule2 you'll not get any error message...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:04:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708279#M59106</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-24T14:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708374#M59107</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Could not open the file correct&amp;nbsp; , i work with inventor 2019.4.8&amp;nbsp;&lt;/P&gt;&lt;P&gt;It try to create a derived part ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise Can you give me the 2 rules please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708374#M59107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-24T14:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708461#M59108</link>
      <description>&lt;P&gt;Just demonstrating the already established fact that if an error is caused by your rule, while your rule us running, it will generate an error message that you can read with the above mentioned method.&amp;nbsp; But if the error existed before you ran the rule, and the error didn't happen as a result of the current rule, the above mentioned method, it will not retrieve that data.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:58:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9708461#M59108</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-08-24T14:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710053#M59109</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2818397" target="_blank"&gt;@mizo303&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See screencast below.&lt;/P&gt;&lt;P&gt;In the first rule, I create a hole that has no effect (This gives an error in Design Doctor). Then in the same rule i use ErrorManager.AllMessages - It returns error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i Run the second rule, that only has one line:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ErrorManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllMessages&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;This returns no error messages. That is because ErrorManager can only "Record" errors caused by the same rule that it's being used in. That's just the way it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="iframe-container" style="position: relative; height: 0; margin: 0; padding-bottom: 96.875%;"&gt;&lt;IFRAME width="640" height="620" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%;" src="https://screencast.autodesk.com/Embed/Timeline/d5878df2-4317-404f-a8e9-218e4e0baac8" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" scrolling="no"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&amp;nbsp;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="myscreencast-iframe iframe-container"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Aug 2020 08:54:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710053#M59109</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-25T08:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710355#M59110</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is clear now for me , many thanks !&lt;/P&gt;&lt;P&gt;The error could only be captured when it's caused inside the rule itself. (recorded flow)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question&amp;nbsp; :&lt;/P&gt;&lt;P&gt;Sometimes i have a unexpected error in a rule , then it pops up a message box and it stops generating my model .&lt;/P&gt;&lt;P&gt;Can this message be logged ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizo303_0-1598356368933.jpeg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811035iA37CFC8887D7BA13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mizo303_0-1598356368933.jpeg" alt="mizo303_0-1598356368933.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:55:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710355#M59110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-25T11:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710363#M59111</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can catch errors with a try-catch block. Run this rule as an example &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oError&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Open&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"THIS_IS_NOT_A_VALID_PATH"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ex&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Exception&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oError&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Ex&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Message&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Code continues..."&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oError&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:59:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710363#M59111</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-25T11:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710379#M59112</link>
      <description>&lt;P&gt;Or to catch multiple errors:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;GoTo&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ErrorHandling&lt;/SPAN&gt;
	
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oErrors&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Open&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"THIS_IS_NOT_A_VALID_PATH"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"NO DOCUMENT"&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Code continues..."&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oErrors&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;ErrorHandling&lt;/SPAN&gt;:
&lt;SPAN style="color: #800000;"&gt;oErrors&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oErrors&lt;/SPAN&gt; &amp;amp;  &lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710379#M59112</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-25T12:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710432#M59113</link>
      <description>&lt;P&gt;There are several ways to log error messages.&lt;/P&gt;&lt;P&gt;One of the newer ways (since Inventor 2019, I think) is to use the iLogic Log (it has its own tab beside Model tab &amp;amp; iLogic tab, to view logged messages, when used.).&lt;/P&gt;&lt;P&gt;Within the iLogic rule editor dialog &amp;gt; Snippets &amp;gt; System tab &amp;gt; Log Messages - contains example lines of code you can insert for using these.&amp;nbsp; There are several levels to which types of messages you want the log to keep track of, if any.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another way, similar to the 'AllMessages' is this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oExLog As ExceptionsLog =  iLogicVb.Automation.RuleExceptionsLog&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;There are others too, as Joel mentioned.&amp;nbsp; If you search "vb.net errors" you will find several ways to deal with them.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:28:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710432#M59113</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-08-25T12:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read out error message of designdoctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710540#M59114</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for all the possibilities&amp;nbsp; , it gives me a way to go on for now !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 13:02:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/read-out-error-message-of-designdoctor/m-p/9710540#M59114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-25T13:02:53Z</dc:date>
    </item>
  </channel>
</rss>

