<?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: How to draw a bounding box for a clashresult? in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13945828#M8342</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5661631"&gt;@naveen.kumar.t&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;A bit of a similar question.&lt;BR /&gt;&lt;BR /&gt;How to draw a full plane?&lt;BR /&gt;I don't see methods in Graphics class to do this.&lt;BR /&gt;I could try to use&amp;nbsp;Rectangle(Point3D origin, Vector3D xVector, Vector3D yVector, [MarshalAs(UnmanagedType.U1)] bool filled) by clipping the plane to the document space/full bounding box but this seems both inefficient and overkill (+ not even sure it will work).&lt;BR /&gt;&lt;BR /&gt;And&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12683683"&gt;@preeti.kumari9TBN6&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;If you repeatedly draw the same bounding box, you will get a bit of performance boost by storing the point and the 3 vectors for each since these are classes in Navisworks that are not performance free to create and got freed a bit randomly based on my experience &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 17:31:23 GMT</pubDate>
    <dc:creator>alexisDVJML</dc:creator>
    <dc:date>2025-12-15T17:31:23Z</dc:date>
    <item>
      <title>How to draw a bounding box for a clashresult?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13942670#M8336</link>
      <description>&lt;P&gt;How to draw a bounding box for a clashresult which we can see?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13942670#M8336</guid>
      <dc:creator>preeti.kumari9TBN6</dc:creator>
      <dc:date>2025-12-12T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a bounding box for a clashresult?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13945132#M8339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P data-start="69" data-end="251"&gt;&lt;BR /&gt;I believe the following link will be helpful to you. Please note that the sample code in the link is not properly formatted and appears as a single line; however, it is functional.&lt;BR /&gt;Link:&amp;nbsp;&lt;A href="https://blog.autodesk.io/navisworks-2014-api-new-feature-toolplugin/" target="_blank" rel="noopener"&gt;https://blog.autodesk.io/navisworks-2014-api-new-feature-toolplugin/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="253" data-end="387"&gt;The code works as follows: when you select an element, it draws a cuboid around it using&amp;nbsp;graphics.Cuboid().&lt;BR /&gt;You can use a similar approach in your workflow.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 08:54:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13945132#M8339</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-12-15T08:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a bounding box for a clashresult?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13945828#M8342</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5661631"&gt;@naveen.kumar.t&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;A bit of a similar question.&lt;BR /&gt;&lt;BR /&gt;How to draw a full plane?&lt;BR /&gt;I don't see methods in Graphics class to do this.&lt;BR /&gt;I could try to use&amp;nbsp;Rectangle(Point3D origin, Vector3D xVector, Vector3D yVector, [MarshalAs(UnmanagedType.U1)] bool filled) by clipping the plane to the document space/full bounding box but this seems both inefficient and overkill (+ not even sure it will work).&lt;BR /&gt;&lt;BR /&gt;And&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12683683"&gt;@preeti.kumari9TBN6&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;If you repeatedly draw the same bounding box, you will get a bit of performance boost by storing the point and the 3 vectors for each since these are classes in Navisworks that are not performance free to create and got freed a bit randomly based on my experience &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 17:31:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13945828#M8342</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2025-12-15T17:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a bounding box for a clashresult?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13946588#M8344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6001790"&gt;@alexisDVJML&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the problem with your plane ? This is the way to draw planes.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Boundingbox3D box = doc.BoundingBox(true)
double x = 100;
graphics.Rectangle(new Point3D(x, box.Min.Y, box.Min.Z); new Point3D(x, box.Max.Y, box.Max.Z));&lt;/LI-CODE&gt;&lt;P&gt;This draws a plane at X clipped on document boundingBox&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 08:08:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13946588#M8344</guid>
      <dc:creator>lanneauolivier</dc:creator>
      <dc:date>2025-12-16T08:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a bounding box for a clashresult?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13954764#M8352</link>
      <description>&lt;P&gt;Thanks Olivier,&lt;BR /&gt;&lt;BR /&gt;That was also my backup plan (pun intended&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;). except I didn't realize have this simpler method.&lt;BR /&gt;I didn't realize there is this slightly simpler method, so I will use it !&lt;BR /&gt;&lt;BR /&gt;My plugin render literally thousands of mid-complexity stuff so any cycle is important.&lt;BR /&gt;And this method requires having document bounds (I can cache this one) and creating 2 points (I actually bypass this but this is another story).&lt;BR /&gt;But agree, this is marginal compare to the other stuff I render: pipe markers, cartouche with details of those, zones ... or I generate using nwcreate. A few screenshot attached&lt;BR /&gt;&lt;BR /&gt;So I will go for it while trying to see if I can emulate a bit what the sectioning gizmo is doing aka reducing the displayed plane so it fit into the view, easier to visualize it then if it fill the whole space.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexisDVJML_0-1766476323231.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1606673iE393C29A0D6ACA9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexisDVJML_0-1766476323231.png" alt="alexisDVJML_0-1766476323231.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexisDVJML_1-1766476336449.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1606674i57D061AA1CC25A25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexisDVJML_1-1766476336449.png" alt="alexisDVJML_1-1766476336449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexisDVJML_2-1766476344493.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1606675iE90B8633C058CAF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexisDVJML_2-1766476344493.png" alt="alexisDVJML_2-1766476344493.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexisDVJML_3-1766476361424.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1606676iD1DEC1A6045F1508/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexisDVJML_3-1766476361424.png" alt="alexisDVJML_3-1766476361424.png" /&gt;&lt;/span&gt;&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;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 07:52:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-draw-a-bounding-box-for-a-clashresult/m-p/13954764#M8352</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2025-12-23T07:52:15Z</dc:date>
    </item>
  </channel>
</rss>

