<?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 XViewChecker.displayResults does not respect 'type' parameter in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/5689264#M15251</link>
    <description>&lt;P&gt;the&amp;nbsp;XViewChecker.displayResults has 6 parmaters as it expressed in docs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;void&amp;gt;&lt;STRONG&gt;xViewChecker.displayResults&lt;/STRONG&gt; &amp;lt;color&amp;gt;color &amp;lt;time&amp;gt;time &amp;lt;node&amp;gt;node &amp;lt;HWND&amp;gt;hwnd &amp;lt;enum&amp;gt;type &amp;lt;&amp;amp;index array&amp;gt;results 

type enums: {&lt;STRONG&gt;#Failed|#Vertices|#Edges|#Faces&lt;/STRONG&gt;} 
results is In and Out parameter 

Displays the results of the current Checker. This method can be used inside a custom displayOverride function to change the default checker display appearance, for example the colors to use, or what sub-object elements to highlight.&lt;/PRE&gt;&lt;P&gt;But it apperas the it competely ignores the &lt;STRONG&gt;&amp;lt;enum&amp;gt;type&lt;/STRONG&gt; parameter. Regardless to the value passed in there #Edges or #Vertices, 2 or 1 - it draws faces in the viewport.&lt;BR /&gt;&lt;BR /&gt;What is the issue? Is it a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2015 13:20:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-23T13:20:36Z</dc:date>
    <item>
      <title>XViewChecker.displayResults does not respect 'type' parameter</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/5689264#M15251</link>
      <description>&lt;P&gt;the&amp;nbsp;XViewChecker.displayResults has 6 parmaters as it expressed in docs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;void&amp;gt;&lt;STRONG&gt;xViewChecker.displayResults&lt;/STRONG&gt; &amp;lt;color&amp;gt;color &amp;lt;time&amp;gt;time &amp;lt;node&amp;gt;node &amp;lt;HWND&amp;gt;hwnd &amp;lt;enum&amp;gt;type &amp;lt;&amp;amp;index array&amp;gt;results 

type enums: {&lt;STRONG&gt;#Failed|#Vertices|#Edges|#Faces&lt;/STRONG&gt;} 
results is In and Out parameter 

Displays the results of the current Checker. This method can be used inside a custom displayOverride function to change the default checker display appearance, for example the colors to use, or what sub-object elements to highlight.&lt;/PRE&gt;&lt;P&gt;But it apperas the it competely ignores the &lt;STRONG&gt;&amp;lt;enum&amp;gt;type&lt;/STRONG&gt; parameter. Regardless to the value passed in there #Edges or #Vertices, 2 or 1 - it draws faces in the viewport.&lt;BR /&gt;&lt;BR /&gt;What is the issue? Is it a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:20:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/5689264#M15251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T13:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: XViewChecker.displayResults does not respect 'type' parameter</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/5689512#M15252</link>
      <description>&lt;P&gt;yes, it's dumb bug in&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;void IGeometryCheckerManager_Imp::DisplayResults_FPS(Color *c,TimeValue t,INode *node, HWND hwnd,int type,Tab&amp;lt;int&amp;gt; &amp;amp;indices)&lt;/PRE&gt;&lt;P&gt;the 'break' is missing in each 'case' statement:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;switch(type)
	{
	case 0x0:
		returnval = IGeometryChecker::eFail;
	case 0x1:
		returnval = IGeometryChecker::eVertices;
	case 0x2:
		returnval = IGeometryChecker::eEdges;
	case 0x3:
		returnval = IGeometryChecker::eFaces;
	}&lt;/PRE&gt;&lt;P&gt;so &lt;STRONG&gt;returnval&lt;/STRONG&gt; is alwasy &lt;STRONG&gt;eFaces.&amp;nbsp;&lt;/STRONG&gt;This is present in 2015 - does anybody know that it's fixed in 2016?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:27:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/5689512#M15252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T15:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: XViewChecker.displayResults does not respect 'type' parameter</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/8212412#M15253</link>
      <description>&lt;P&gt;Still in 2019 &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 21:12:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/8212412#M15253</guid>
      <dc:creator>Nepre</dc:creator>
      <dc:date>2018-08-20T21:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: XViewChecker.displayResults does not respect 'type' parameter</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/11459002#M15254</link>
      <description>&lt;P&gt;This seems to still be an issue in 2023 - ".supportedCheck #Edges" is returning only faces in viewport.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a workaround to this please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 18:33:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/xviewchecker-displayresults-does-not-respect-type-parameter/m-p/11459002#M15254</guid>
      <dc:creator>graeme.palmer</dc:creator>
      <dc:date>2022-10-03T18:33:28Z</dc:date>
    </item>
  </channel>
</rss>

