<?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: Find 3d distance between 2 sets of points in 3D Mapping Questions</title>
    <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869435#M886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Z difference is between 5 and 100 meters.&lt;/P&gt;&lt;P&gt;Limiting the search radius would at the most cut the number of building points in two, leaving me with 6000 points.The building points are all&amp;nbsp;within 400 meters of the line that the construction machine points run along, and I would need to select building points within 150-250 meters from each construction machine point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I unfortunately cannot share the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again Xander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 09:15:59 GMT</pubDate>
    <dc:creator>SB5</dc:creator>
    <dc:date>2016-12-07T09:15:59Z</dc:date>
    <item>
      <title>Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869430#M881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'd like to find the 3d distance between all points in two point feature classes. One is 12 000 building points, the other 22 000 point locations of a construction machine (along a line), constructing many km of tunnel. My aim is to be able to select the building points within x meters when the construction machine is at a specific location. How can I do this without running Near 3d several thousand times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using arcgis 10.3 with basic license. I am not very familiar with scripting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869430#M881</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-05T10:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869431#M882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/3d-analyst-toolbox/near-3d.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/3d-analyst-toolbox/near-3d.htm"&gt;Near 3D—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;tool will get you the distance to the nearest object in the other layer, not all objects. The&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/generate-near-table.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/generate-near-table.htm"&gt;Generate Near Table—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;will calculate the distance between all objects in two featureclasses, but not in 3D.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you would have to script this, but&amp;nbsp;this means evaluating 12000 x 22000 = 264M combinations. That will be a pretty long process.&amp;nbsp;Also to work with the results will be slow, since your table will have 264M records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the 3D distance between is not very complex. Just take the&amp;nbsp;square root from (dx² + dy² + dz²).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869431#M882</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-05T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869432#M883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xander. I guess the easiest solution is to run Near 3D after specifying one location of the construction machine in the first feature class. My aim was to have this available for my colleagues to query from a table, but there would be too much data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 13:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869432#M883</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-05T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869433#M884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering... is there a lot of difference in Z between the building points and the construction machine points?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact that you will limit the search distance can limit a lot the number of results. Also if you apply a "Relate"&amp;nbsp;and define your attribute indexes correctly, this might yield be a workable solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to share your data, to see what's can be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 18:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869433#M884</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-05T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869434#M885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use Generate Near Table to calculate the 2d distances ('c' below), then Spatial Join to transfer start/end height attribute (difference is 'd' below), then calculate the 3d distance to a new field ('e' below).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://betterexplained.com/wp-content/uploads/pythagorean/3dtheorem.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869434#M885</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-12-05T19:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869435#M886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Z difference is between 5 and 100 meters.&lt;/P&gt;&lt;P&gt;Limiting the search radius would at the most cut the number of building points in two, leaving me with 6000 points.The building points are all&amp;nbsp;within 400 meters of the line that the construction machine points run along, and I would need to select building points within 150-250 meters from each construction machine point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I unfortunately cannot share the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again Xander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869435#M886</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-07T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869436#M887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this seems interesting. I unfortunately only have the basic license and need advanced to use Generate Near Table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869436#M887</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-07T09:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869437#M888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The search radius that I was referring to is for searching the buildings for each point on the tunnel line. As you mention that you only want to consider buildings up to 250 m from a tunnel point, this will mean that you will not have to generate the 264M combinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;will come back to this and see if I can think of an easy way to generate a result using a Basic license.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 12:20:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869437#M888</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-07T12:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869438#M889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in the process of trying out the following solution, but not quite sure about it:&lt;/P&gt;&lt;P&gt;I ran 3D buffer tool for each construction machine point and got&amp;nbsp;22 000 multipatch 200 meter&amp;nbsp;buffer spheres. I then ran Inside 3D to get a table with all the building points within each buffer sphere/multipatch&amp;nbsp;(which had to be joined to the two point tables to preserve all my information in one table). In the resulting table (only 1 million rows) I have&amp;nbsp;xyz for each construction machine point (=the center of the 3D buffer multipatch) and xyz for each building point, can I calculate 3D distance using the coordinates?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 13:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869438#M889</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-07T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869439#M890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;As mentioned in a comment to Xander above, I used 3D Buffer and Inside 3D plus some table joining to end up with a table with xyz coordinates for both building points and construction machine points. Can you tell me how to calculate 3D distance in a new field, either using excel or in the attribute table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example (with very many zeros for some reason)&lt;/P&gt;&lt;TABLE style="width: 945px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_X_building&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_Y_building&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_Z_building&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_X_constructionmachineno2850&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_Y_constructionmachineno2850&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;POINT_Z_constructionmachineno2850&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599017.980859000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640584.964650000400000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;123.000000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599075.213999999690000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640639.921700000800000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;-6.040000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;598973.976436999980000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640633.025369999900000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;121.950400000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599075.213999999690000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640639.921700000800000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;-6.040000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;598973.976436999980000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640633.025369999900000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;121.950400000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599075.213999999690000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640639.921700000800000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;-6.040000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599111.963903000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640589.985279999700000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;126.000000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599075.213999999690000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640639.921700000800000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;-6.040000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 172px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599090.217955000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 180px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640602.671959999900000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 148px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;126.000000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 194px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;599075.213999999690000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 257px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;6640639.921700000800000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 226px; height: 25px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;-6.040000000000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:15:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869439#M890</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-07T15:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869440#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a new field (double) and calculate the field using this formula:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Sqr (([POINT_X_building]-[POINT_X_constructionmachineno2850]^2 + &amp;nbsp;[POINT_Y_building]-[POINT_Y_constructionmachineno2850]^2 + [POINT_Z_building]-[POINT_Z_constructionmachineno2850]^2 ))&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869440#M891</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-07T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869441#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an alternative I&amp;nbsp;generated a script that will calculate the 3D distance between two sets of 3D point featureclasses.&lt;/P&gt;&lt;P&gt;The result is a table that contains the OID of the buildings, the OID of the tunnel points and the 3D distance:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/278114_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By defining two relates in ArcMap you will be able to do what you are looking for.&lt;/P&gt;&lt;P&gt;Relate 1: based on the tunnel points, relating to the new table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/278115_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relate 2: based on the table relating to the building points:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/278116_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to define some attribute indexes in the table to increase the performance:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/278120_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does it work. In ArcMap you select a tunnel point and open the attribute table of the tunnel point featureclass:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/278121_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the relate button and select the relate:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/278122_pastedImage_6.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will open the table with the related combinations selected:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/278123_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then select the relate to propagate the selection to the building points:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-8" src="https://community.esri.com/legacyfs/online/278124_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... which will open the selected building points:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-9 jive-image" src="https://community.esri.com/legacyfs/online/278125_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The map will show the selection:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-10" src="https://community.esri.com/legacyfs/online/278126_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script I used for this is listed below. In my case I only had 6.5M combinations and it took 2 minutes to process the combinations on an average computer. This will probably take all night&amp;nbsp;processing the 264M combinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; math
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; time &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; localtime&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; strftime

&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;main&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgress&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Start process..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_buildings &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'D:\Xander\GeoNet\Generate3DNearTable\gdb\data.gdb\building_points_3D'&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_tunnel_points &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'D:\Xander\GeoNet\Generate3DNearTable\gdb\data.gdb\tunnel_points_3D'&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; tbl_out &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'D:\Xander\GeoNet\Generate3DNearTable\gdb\data.gdb\Near3D_table_v01'&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_building_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'OID_Building'&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_tunnel_point_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'OID_TunnelPoint'&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_dist3D &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Distance3D'&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# max distance&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; max_dist &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;250&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# sr = arcpy.Describe(fc_buildings).spatialReference&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# create lists of buildings and tunnel points&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgress&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Create lists of buildings and tunnel points..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'OID@'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'SHAPE@'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_building &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; r &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc_buildings&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; flds&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_tunnelpoints &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; r &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc_tunnel_points&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; flds&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# create output table for relate&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgress&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Create output table..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tbl_ws&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; tbl_name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_out&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateTable_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_ws&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; tbl_name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgress&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Add fields to output table..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; AddField&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_out&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_building_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"LONG"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; AddField&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_out&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_tunnel_point_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"LONG"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; AddField&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_out&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_dist3D&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DOUBLE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt_total &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; len&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;lst_building&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; len&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;lst_tunnelpoints&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fld_building_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_tunnel_point_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_dist3D&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgress&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Start creating combinations..."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tbl_out&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; flds&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; curs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt_found &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; building_data &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; lst_building&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oid_building &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; building_data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntg_building &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; building_data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; tunnel_data &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; lst_tunnelpoints&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oid_tunnel_point &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tunnel_data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntg_tunnel_point &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tunnel_data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt &lt;SPAN class="operator token"&gt;+=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; cnt &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10000&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgressPercentage&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Processing combination: {0},&amp;nbsp; found: {1}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cnt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt_found&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt_total&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dist3D &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; get3Ddistance&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pntg_building&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pntg_tunnel_point&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; dist3D &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; max_dist&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt_found &lt;SPAN class="operator token"&gt;+=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;oid_building&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; oid_tunnel_point&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; dist3D&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curs&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;insertRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowProgressPercentage&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Ready processing {0} combinations,&amp;nbsp; found: {1}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cnt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt_found&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt_total&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;AddField&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_type&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_length&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; len&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFields&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddField_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_type&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fld_length&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;get3Ddistance&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pntg1&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pntg2&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt1 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pntg1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pntg2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; distance &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; math&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sqrt&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pnt1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;pnt2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pnt1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;pnt2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pnt1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Z&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;pnt2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Z&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; distance


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;ShowProgressPercentage&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;txt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cnt_tot&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; current_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;localtime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; cnt_tot &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{0}&amp;nbsp;&amp;nbsp; - {1}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;current_time&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; txt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; percentage &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cnt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cnt_tot&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{0}&amp;nbsp;&amp;nbsp; - {1} ({2}%)"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;current_time&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; txt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; round&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;percentage&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;ShowProgress&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;txt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# current_time = strftime("%Y-%m-%d %H:%M:%S", gmtime())&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; current_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; strftime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"%H:%M:%S"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;localtime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{0} - {1}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;current_time&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; txt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; __name__ &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'__main__'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; main&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869441#M892</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T10:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869442#M893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for spending time on the script, Xander. I ran/started the script with the two point sets and it got to 20% in two hours before I realised that I wanted to split up the point sets, so I just recently started over. I don't think the process will finish before my long weekend starts, but it looks like it's going very well! I appreciate this a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 11:58:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869442#M893</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-08T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869443#M894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a small problem: Since the objectid in my tunnel point fc is called "objectid" and the new table's objectid is also called "objectid", the tunnel point objectid is not included and cannot be related to the original tunnel point file afterwards. Is there a way of changing the objectid, either choosing another field or renaming it?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 13:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869443#M894</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-08T13:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869444#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...or can another identifying field be added from the tunnel point attribute table? Each tunnel point has a unique number that is used by the contractors to track the machines, so it needs to be there (either joined or added now)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 13:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869444#M895</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-08T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869445#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Sorry for spamming)&lt;/P&gt;&lt;P&gt;Nevermind, I just changed what field to include from the tunnel point attribute table, thought it had to be the objectid field. The script works great, I'm very grateful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 15:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869445#M896</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-08T15:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869446#M897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm back. Do the fields have to be indexing fields / objectid fields? I used the unique tunnel identifying field now, as mentioned above, and the numbers were changed during the process. So the solution was not as simple as I had hoped. I'm back to wondering if it is possible to change the objectid field name or being able to add a few more fields from the tunnel point attribute table.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 15:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869446#M897</guid>
      <dc:creator>SB5</dc:creator>
      <dc:date>2016-12-08T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869447#M898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The idea is&amp;nbsp;was to create a table that contains both ObjectID values. Those are read from the input featureclasses. The input ObjectID values won't change and allow you to make the connection between the two featureclasses. The output table contains this relation as would&amp;nbsp;a relationshipclass (which would be available if you would have access to a Standard or Advanced license). It os possible to use a different field&amp;nbsp;as identifier. I used ObjectID since this is standard available in a featureclass. However, this could require to adapt the type of field that is created in the output table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The alternative could be to join the&amp;nbsp;identifier you want to the output table, using the ObjectID field of the featureclass and the OID_* field in the output table as join fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to run the process as is and follow the instructions&amp;nbsp;described earlier to see if it works. The advise to create attribute indexes on the fields you use in the relates is to speed up the&amp;nbsp;visualization in ArcMap.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 22:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869447#M898</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-08T22:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869448#M899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander... do you still have that point file? Not the ridiculously large one, but the option within a selection constraint. I want to do some tests and I don't have a real 3D point file that large with real world coordinates to compare to. &amp;nbsp;I am testing e_dist (from previous blogs) in 3D. &amp;nbsp; A post here or email to me would be great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 23:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869448#M899</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-12-08T23:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Find 3d distance between 2 sets of points</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869449#M900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌, I have attached a ZIPped GDB that contains the two 3D points files that I used and some intermediate data I used to create the data. The two point featureclasses I used are marked in red:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/279869_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply drew a line, extracted a point every 10 meters, buffered the line, and generated random points in the buffer polygon, created Z fields with random values and converted the 2D points files to 3D using the attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very interested to see your results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/find-3d-distance-between-2-sets-of-points/m-p/869449#M900</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-12-09T03:44:53Z</dc:date>
    </item>
  </channel>
</rss>

