See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Spaces and SF Chart

  1. #1
    Active Member Heather_W's Avatar
    Join Date
    2007-01
    Posts
    75
    Login to Give a bone
    0

    Default Spaces and SF Chart

    I am using ACA 2017

    We use spaces to calculate our square footages and then put them into a chart. We have the chart auto populate the total. I have the precision set to 0 but the chart is still reading numbers past the decimal to calculate the total. So if my square footages are 1804 and 1904, it's auto populating the total to 3709. How do I get AutoCAD to only add the numbers listed on the chart?
    If I change the precision to .00 it will keep adding past that precision as well. Do I have my settings set up wrong? Any help would be greatly appreciated!
    I've attached a pdf of the settings and the chart so you can see it's not adding up properly.
    Attached Files Attached Files

  2. #2
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    1

    Default Re: Spaces and SF Chart

    When calculating the total of a column, ACA uses the raw, unrounded numbers, which can, as you have found, result in a total that differs from the sum of the rounded numbers that are displayed in the Schedule Table. This blog article describes a way to do the desired rounding in a formula property, so that the numbers displayed are the numbers that are used to calculate the total, eliminating any discrepancy. The article contains a number of links to other articles about rounding, should you want to learn more about that topic.

  3. #3
    Active Member Heather_W's Avatar
    Join Date
    2007-01
    Posts
    75
    Login to Give a bone
    0

    Default Re: Spaces and SF Chart

    Thank you so much, David. I have read several articles and posts and even downloaded your "space area rounding test01.zip" file. But I haven't been able to figure out how to have the square footage round to the whole number. I see you have it rounding to 0.01 or 0.05. How do I get it to add just the whole number?

  4. #4
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Spaces and SF Chart

    Quote Originally Posted by Heather_W View Post
    Thank you so much, David. I have read several articles and posts and even downloaded your "space area rounding test01.zip" file. But I haven't been able to figure out how to have the square footage round to the whole number. I see you have it rounding to 0.01 or 0.05. How do I get it to add just the whole number?
    If [BaseArea] is a proper reference to a property that holds the area value to be rounded, then a formula property of

    Round( [BaseArea], 0 )

    will round to the nearest whole number. Note that the Round function rounds exactly one half "to even". So, 0.5 would round to 0, 1.5 and 2.5 would both round to 2, 3.5 and 4.5 would both round to 4, etc.

Similar Threads

  1. Chart LISP
    By 2016johnm8 in forum AutoLISP
    Replies: 2
    Last Post: 2016-12-09, 07:20 AM
  2. Spaces to cope with vertically irregular spaces better
    By Wish List System in forum Revit MEP - Wish List
    Replies: 2
    Last Post: 2015-12-05, 08:10 PM
  3. 2014: Chart Key Notes
    By settel in forum AutoCAD General
    Replies: 1
    Last Post: 2014-01-21, 01:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •