See the top rated post in this thread. Click here

Results 1 to 10 of 10

Thread: Beginner calculated value help please

  1. #1
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Beginner calculated value help please

    I need to calc the weight of some framing, so in my schedule I selected Calculated Value, named it Weight. Why won't the formula accept Volume * 485 CF, but it will accept Volumne / 485 CF?

    Thanks,
    Rob

  2. #2
    All AUGI, all the time
    Join Date
    2006-09
    Location
    The Kingdom of Denmark
    Posts
    560
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Just a weird Revit thing... caused by "Incosistent Units"
    But try do divide one of the values by one (1), and have something like this:

    Volume * (485 CF / 1) - It just MIGHT work
    Last edited by Munkholm; 2011-01-10 at 02:24 PM.

  3. #3
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Still getting inconsistent Units (

    Thanks though )

  4. #4
    AUGI Addict iru69's Avatar
    Join Date
    2004-10
    Location
    usa
    Posts
    1,591
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    I'm not sure if it's a weird "Revit" thing as much as a "math" thing?

    I believe Munkholm's on the right track, but the idea is to get rid of one of the units, i.e. Volume * (485 CF / 1 CF) ?

    Also, make sure you're spelling "Volume" correctly in your actual formulas.

    Edit: Also, I'm a little confused - you're trying to calculate the weight by multiplying two volumes? What value type are you using for the calculation?

  5. #5
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Direct cut/paste from formula window

    Volume * (485 CF / 1 CF)

    Still returns Inconsistent Units

    Yeah, spelling can be an issue)

  6. #6
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Quote Originally Posted by iru69 View Post
    Edit: Also, I'm a little confused - you're trying to calculate the weight by multiplying two volumes? What value type are you using for the calculation?
    Unfortunalty, I'm helping someone else, so I'm not sure. Since volume is known, the weight is the result of the formula. I think CF was added to 485 just trying to make the unit consistent to get it to work.

    Revit does NOT like *

    Volume / Volume is acceptable

    Volume * Volume returns Inconsistent Units.

  7. #7
    AUGI Addict
    Join Date
    2015-12
    Location
    Orlando, FL
    Posts
    1,049
    Login to Give a bone
    1

    Default Re: Beginner calculated value help please

    What data type is the calculated value?

    Assuming that the data type of the field named "Volume" is "volume",

    if the data type of your calculated value is also "volume", use this:

    Volume * 485

    If the data type of your calculated value is "number", use this:

    Volume * 485 / 1 CF

  8. #8
    AUGI Addict iru69's Avatar
    Join Date
    2004-10
    Location
    usa
    Posts
    1,591
    Login to Give a bone
    1

    Default Re: Beginner calculated value help please

    Revit is fine with " * "... it just has to be used correctly.

    If Volume is actually a volume, and the value type is set to "Number", then you can use the "Volume / Volume" because the result is a "number" - the "volumes" cancel each other out.

    In the same scenario, if you try to calculate "Volume * Volume", you'll get an error because the result is not a "Number" (again, I'm no math wiz, but I'm not sure that even makes sense).

    If you really want to get to the bottom of this, I think you need to really lay out what each parameter is and what you're trying to do and/or post an example file.

    Good luck to you!

    Quote Originally Posted by revituser195 View Post
    Unfortunalty, I'm helping someone else, so I'm not sure. Since volume is known, the weight is the result of the formula. I think CF was added to 485 just trying to make the unit consistent to get it to work.

    Revit does NOT like *

    Volume / Volume is acceptable

    Volume * Volume returns Inconsistent Units.

  9. #9
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Quote Originally Posted by Alfredo Medina View Post
    What data type is the calculated value?

    Assuming that the data type of the field named "Volume" is "volume",

    if the data type of your calculated value is also "volume", use this:

    Volume * 485

    If the data type of your calculated value is "number", use this:

    Volume * 485 / 1 CF
    My mistake was the type set to Number, not Volume.

    Thank you very much.

  10. #10
    Active Member
    Join Date
    2009-03
    Posts
    77
    Login to Give a bone
    0

    Default Re: Beginner calculated value help please

    Quote Originally Posted by iru69 View Post
    Revit is fine with " * "... it just has to be used correctly.
    I should have said Revit doesn't like ME using * )

    Quote Originally Posted by iru69 View Post
    In the same scenario, if you try to calculate "Volume * Volume", you'll get an error because the result is not a "Number" (again, I'm no math wiz, but I'm not sure that even makes sense).

    If you really want to get to the bottom of this, I think you need to really lay out what each parameter is and what you're trying to do and/or post an example file.

    Good luck to you!
    Thank you for taking the time to explain. My mistake was Number was selected for Type when Volume was needed.

Similar Threads

  1. 2013: Schedule - calculated value / calculated field
    By RayRay4105 in forum Revit - API
    Replies: 2
    Last Post: 2013-02-23, 04:30 PM
  2. help(Beginner)
    By mohsenmaleki in forum AutoLISP
    Replies: 2
    Last Post: 2010-11-02, 09:32 AM
  3. Still a beginner
    By jspartz in forum Revit - Gallery
    Replies: 1
    Last Post: 2010-10-14, 01:24 AM
  4. beginner
    By minhtct in forum AMEP General
    Replies: 3
    Last Post: 2008-11-13, 05:15 AM

Posting Permissions

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