Imported Elevation Data


jgranado2013
 Share

Recommended Posts

Hello,

 

I imported a text file with point and elevation data, in the text file the elevation data is in decimal feet. When I try to display to elevation on each point using the text macro %elevationf% it is displaying in feet and inches. How do I change the units to decimal feet? Is there another macro I'm not seeing?

 

Thanks

Link to comment
Share on other sites

59 minutes ago, Alaskan_Son said:

Away from my computer but you don’t even need to create a custom macro.  You can simply do the conversion right there in your text field...


%elevation.to_ft%
 

OR

 

%elevation.to_ft.round(2)%

Thanks Michael! Great clarification that should help many people!

Link to comment
Share on other sites

Just to clarify, the %elevationf% macro will display the elevation formatted using the "Displayed Line Length Format" found in your current CAD Defaults.  The %elevation% macro will display the elevation without any formatting.  Adding the ".to_ft" will convert the inches into feet and adding the ".round(2)" will display it rounded to the nearest 2 decimal places.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share