<?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: Traceboundary or... in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820703#M27045</link>
    <description>&lt;P&gt;In one of CAd tool I developed, I did something in the exactly the same steps as you described.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 19:57:04 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2018-03-01T19:57:04Z</dc:date>
    <item>
      <title>Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820311#M27044</link>
      <description>&lt;P&gt;I need to find perpendicular distances from line work to a point.&amp;nbsp; It looks like I can use Traceboundary, but I need to know the best way to:&lt;/P&gt;&lt;P&gt;1) save the current layer status&lt;/P&gt;&lt;P&gt;2) freeze all layers except the layers the boundary objects are on&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) get the polyline from traceboundary (I have this part already)&lt;/P&gt;&lt;P&gt;4) restore the user's layer status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, is there another way?&amp;nbsp; I looked at ray but I don't see how to implement the perpendicular part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached image, I need to calculate the distances.&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="bdy.PNG" style="width: 647px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/469657i24E912FEA79B7939/image-size/large?v=v2&amp;amp;px=999" role="button" title="bdy.PNG" alt="bdy.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 17:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820311#M27044</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-03-01T17:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820703#M27045</link>
      <description>&lt;P&gt;In one of CAd tool I developed, I did something in the exactly the same steps as you described.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 19:57:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820703#M27045</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-03-01T19:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820717#M27046</link>
      <description>&lt;P&gt;Oh, as for the perpendicular distance, you only need to find closed point on the each segment (between 2 vertices) to your point inside the polyline.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 20:01:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7820717#M27046</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-03-01T20:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7825862#M27047</link>
      <description>&lt;P&gt;I ended up using rays. i got the start from&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/net/how-to-create-a-ray/m-p/2647367#M18277" target="_blank"&gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the layer idea with trace boundary works but for me messing with users layers is not the best method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created an objectid collection of the lines for checking and kept track of the length - i needed the closest. create a 2 vertex polyline and get the closest point for the perpendicular distance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the ray part of the code is attached (requires transaction tr). thx&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2018 17:22:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7825862#M27047</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-03-04T17:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7826089#M27048</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/81963"&gt;@fieldguy&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I ended up using rays. i got the start from&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/net/how-to-create-a-ray/m-p/2647367#M18277" target="_blank"&gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the layer idea with trace boundary works but for me messing with users layers is not the best method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created an objectid collection of the lines for checking and kept track of the length - i needed the closest. create a 2 vertex polyline and get the closest point for the perpendicular distance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the ray part of the code is attached (requires transaction tr). thx&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sorry, but that doesn't make any sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you already have the line, it is just a matter of calling GetClosestPointTo() to get the point on the line where it intersects a perpendicular line passing through the test point..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no rays needed.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2018 22:36:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7826089#M27048</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2018-03-04T22:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Traceboundary or...</title>
      <link>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7826288#M27049</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;If you already have the line&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i do not. i have a point and 100s of lines to test.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 02:19:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/traceboundary-or/m-p/7826288#M27049</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-03-05T02:19:42Z</dc:date>
    </item>
  </channel>
</rss>

