Charles

polyline area macro rounding help

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
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....

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Member Statistics

    27370
    Total Members
    6254
    Most Online
    designsbyalex
    Newest Member
    designsbyalex
    Joined