<?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: Loop Through Clash Results in ComAPI in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/8299158#M3999</link>
    <description>&lt;P&gt;Hello. I have just started learning Navisworks development, and I only know about plug-ins. I learned a lot from this code. Thank you very much.&lt;BR /&gt;However, my level is limited. If I can, can I provide complete code?&lt;BR /&gt;At the same time, can you provide COM API reference manual download? You can't find it online.&lt;BR /&gt;Thanks again.&lt;BR /&gt;Tennicse@126.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;您好。我刚刚开始学习Navisworks开发，仅仅对插件有所了解。这一段代码让我学到了很多，非常感谢。&lt;BR /&gt;不过，我的水平还是有限，如果可以，是否能够提供完整的代码？&lt;BR /&gt;同时能否提供COM API参考手册下载？网上找不到。&lt;BR /&gt;再次感谢。&lt;BR /&gt;tennicse@126.com&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 11:15:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-28T11:15:07Z</dc:date>
    <item>
      <title>Loop Through Clash Results in ComAPI</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/7789857#M3997</link>
      <description>&lt;P&gt;Is it possible to loop through clash results in ComAPI with a for loop (not a foreach loop)?&amp;nbsp; The approach below does not seem to work.&lt;/P&gt;&lt;PRE&gt;for (int i = 0; i &amp;lt; ComApi.InwOclTestResult.results().Count; i++)&lt;BR /&gt;{&lt;BR /&gt;     if (i == 30)&lt;BR /&gt;     {&lt;BR /&gt;          ComApi.InwOclTestResult oRes = ComApi.InwOclTestResult.results()[i];&lt;BR /&gt;          //do something&lt;BR /&gt;     }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method seems to work well, but I am unable to access a clash result by it's index:&lt;/P&gt;&lt;PRE&gt;foreach (ComApi.InwOclTestResult varialbe in ComApi.InwOclTestResult.results())&lt;BR /&gt;{&lt;BR /&gt;     //do something&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 20:24:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/7789857#M3997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-19T20:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Through Clash Results in ComAPI</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/7790153#M3998</link>
      <description>&lt;P&gt;I figured it out from this blog:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/aec/2012/09/workaround-to-export-image-of-clash-result.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2012/09/workaround-to-export-image-of-clash-result.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the clash result's indexing starts at 1 instead of 0.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 22:37:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/7790153#M3998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-19T22:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Through Clash Results in ComAPI</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/8299158#M3999</link>
      <description>&lt;P&gt;Hello. I have just started learning Navisworks development, and I only know about plug-ins. I learned a lot from this code. Thank you very much.&lt;BR /&gt;However, my level is limited. If I can, can I provide complete code?&lt;BR /&gt;At the same time, can you provide COM API reference manual download? You can't find it online.&lt;BR /&gt;Thanks again.&lt;BR /&gt;Tennicse@126.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;您好。我刚刚开始学习Navisworks开发，仅仅对插件有所了解。这一段代码让我学到了很多，非常感谢。&lt;BR /&gt;不过，我的水平还是有限，如果可以，是否能够提供完整的代码？&lt;BR /&gt;同时能否提供COM API参考手册下载？网上找不到。&lt;BR /&gt;再次感谢。&lt;BR /&gt;tennicse@126.com&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 11:15:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/loop-through-clash-results-in-comapi/m-p/8299158#M3999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-28T11:15:07Z</dc:date>
    </item>
  </channel>
</rss>

