Add-In for Assigning measures based on XYZ coordinates in a Projected layer

10305
11
12-09-2013 10:57 AM
RichardFairhurst
MVP Honored Contributor
I had posted an Add-In to the Gallery that was supposed to create 3D length measures on a Linear Referenced Route that was Z aware.  Unfortunately, I had attempted to include code to filter the layer list to only show those layers that would be editable, and that code did not work properly on systems other than my own.  I have removed this validation check, so it is on the user to be sure they have edit rights before attempting to assign 3D measures using this tool.

Since I cannot update the gallery I am posting the Add-In here.  It is compiled for ArcGIS 10.1, and I do not know if it will work in 10.0 or 10.2.

Here are the basic installation instructions.  After downloading the Add-In double click it to install it and make it available to ArcMap.  In Desktop open the Customize | Extensions... menu dialog, check the extension called Measures to 3D/2D, and close the dialog.  In Desktop open the Customize | Customize Mode... menu dialog and click on the Commands tab.  In the list of Categories scroll down until you see a category named "Measures to 3D/2D Lengths" and click that category.  In the commands list box you will see a tool named Measures to 3D/2D....  Click and drag this tool on to one of your toolbars and drop it onto the toolbar.  Close the Customize dialog.

Now you should be able to click the Measures to 3D/2D Lengths tool button to open a panel for configuring and using the tool.  If you have at least one projected polyline layer in your map that is M and Z aware, it should appear in the list of layers.  The tool lets you specify a multiplier for unit conversions.  A unit calculator detects your current XY projected units and can assist you to find the conversion factor you should input to achieve a particular measure unit conversion (for example to convert from US Feet to Meters the calculator displays a conversion factor of 0.304800609601219).  You can optionally specify a Measure offset for your first measure, ignore or take into account measure gaps, make the measures go with or against the digitized direction, and respect or not respect a selection of routes to operate on.

If further explanation is needed post your questions or comments here.
11 Replies
RichardFairhurst
MVP Honored Contributor

Kevin:

I have not experienced a problem using the tool with 10.3.1 since I updated the file.  I tried the tool just now in response to your post and the dockable window opened fine, recognized layers with M values fine and performed an update fine.  To be sure I attached the correct add-in file I have deleted and reposted the add-in to my post above with a new date time of 12/13/16 at 12:17 PM.

Do you have any other extensions running, especially editor extensions?  My system has Attribute Assistant installed and that did not cause any issue for my tool, but other editor extensions might.

Be sure to uninstall any prior version of the Add-In before installing the new one.  Anyway, please relate the installation process you used if your problem persists.  Also open Task Manager and report any unusual memory use or performance behaviors shown during the time the application crashes.

0 Kudos
forestknutsen1
MVP Regular Contributor

Thanks Richard. I have enjoyed the addin over the last year+ in our 10.1 environment.

0 Kudos