polyline area macro rounding help


Charles
 Share

Recommended Posts

I want to find out the area of a polyline using the area macro in the label dialog.

The default rounding is out to five decimal places.

How do I set it to round up to one or two decimal places??

Thanks in advance, 

Charles

 

image 1.jpg598c056679b16_image2.thumb.jpg.e6f36d26e6555b0e867f7b213ab6a87b.jpg

image 2.jpg

Link to comment
Share on other sites

Text Macro Management.  Write a custom macro...evaluated (owner context) and set the value to:

 

area.round(2)

 

NOTE:  The 2 represents the number of decimal values you want the value rounded to.  Leave that part off completely and the value will just round to the nearest whole number.

 

Replace the %area% macro with your new custom macro.  

  • Like 1
  • Upvote 1
Link to comment
Share on other sites

  • 3 months later...
  • 11 months later...
On 8/10/2017 at 12:17 AM, Alaskan_Son said:

USE Text Macro Management.  Write a custom macro...evaluated (owner context) and set the value to:

 

area.round(2)

 

It's right there in the 2nd Post .... or just above now....

 

4 hours ago, dskogg said:

How do you write that macro

 

 

Lucky you Kirk just made a video in another Thread too....

 

 

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