<?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: Design Doctor in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/9068817#M87253</link>
    <description>&lt;P&gt;There is currently zero API capability for the drawing functionality.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Oct 2019 15:01:53 GMT</pubDate>
    <dc:creator>BrianEkins</dc:creator>
    <dc:date>2019-10-05T15:01:53Z</dc:date>
    <item>
      <title>Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8100251#M87249</link>
      <description>&lt;P&gt;Can I in any way see if the Design Doctor "is active" - i.e. detect if I have a Red Cross:&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="DesignDoctor.png" style="width: 191px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517667i533F098A59C52C30/image-size/large?v=v2&amp;amp;px=999" role="button" title="DesignDoctor.png" alt="DesignDoctor.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a sample in the help, "Using Inventor's error dialog API Sample", but I can only record errors. I am running a long configuration rule, and I want to make sure that I don't start out with "legacy" errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 11:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8100251#M87249</guid>
      <dc:creator>Skadborg.NTI</dc:creator>
      <dc:date>2018-06-29T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8101040#M87250</link>
      <description>&lt;P&gt;There were plans at one point to expose the Design Doctor through the API but it never happened.&amp;nbsp; However, you can still get&amp;nbsp;some failure or error information by interrogating the model.&amp;nbsp; The VBA macro and function below check to see if any of the features in a part have problems.&amp;nbsp; To do a full check you would also want to check the health state of sketches and work features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Public Sub TestProblems()
    Dim partDoc As PartDocument
    Set partDoc = ThisApplication.ActiveDocument

    If PartHasProblems(partDoc) Then
        MsgBox "Part has problems"
    Else
        MsgBox "Part is OK"
    End If
End Sub

Public Function PartHasProblems(partDoc As PartDocument) As Boolean
    Dim feature As PartFeature
    For Each feature In partDoc.ComponentDefinition.Features
        If feature.HealthStatus &amp;lt;&amp;gt; kUpToDateHealth And _
           feature.HealthStatus &amp;lt;&amp;gt; kBeyondStopNodeHealth And _
           feature.HealthStatus &amp;lt;&amp;gt; kSuppressedHealth Then
            PartHasProblems = True
            Exit Function
        End If
    Next
    
    PartHasProblems = False
End Function&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jun 2018 15:36:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8101040#M87250</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2018-06-29T15:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8101224#M87251</link>
      <description>&lt;P&gt;Good idea - thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:49:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/8101224#M87251</guid>
      <dc:creator>Skadborg.NTI</dc:creator>
      <dc:date>2018-06-29T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/9068547#M87252</link>
      <description>&lt;P&gt;Please, is this possible for drawing document, too? Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 08:34:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/9068547#M87252</guid>
      <dc:creator>martinkasparides</dc:creator>
      <dc:date>2019-10-05T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/9068817#M87253</link>
      <description>&lt;P&gt;There is currently zero API capability for the drawing functionality.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 15:01:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/9068817#M87253</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2019-10-05T15:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/11617558#M87254</link>
      <description>&lt;P&gt;Gang...&lt;/P&gt;&lt;P&gt;It's Inventor 2023 now. Any update on this? Still have to use VBA?&lt;/P&gt;&lt;P&gt;We are now putting welds into assemblies and when they fail, it's easily over-looked. Just want a message box that pops up when the the red cross is active telling the user that something is wrong. Plan on triggering it before a save. Unsure if I want to do just welds or when anything is wrong in an assembly. Might open a can of worms, but ohh well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Steve H.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 16:27:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/11617558#M87254</guid>
      <dc:creator>steveh3</dc:creator>
      <dc:date>2022-12-13T16:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Design Doctor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/12659647#M87255</link>
      <description>&lt;P&gt;I am seeing success by testing the button state (assuming the design doctor button is on the drawing quick access toolbar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim rb = ThisApplication.UserInterfaceManager.Ribbons.Item("Drawing").QuickAccessControls.Item("AppDesignDoctorCmd")
If rb.ControlDefinition.Enabled Then
	MsgBox("Drawing has broken elements!")
End If&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 19:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/design-doctor/m-p/12659647#M87255</guid>
      <dc:creator>g.georgiades</dc:creator>
      <dc:date>2024-03-22T19:30:12Z</dc:date>
    </item>
  </channel>
</rss>

