Announcement

Collapse
No announcement yet.

Is nominal fractions possible in Revit?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is nominal fractions possible in Revit?

    I think this may have been asked before but is nominal fractions a possibility? Not feet and inches, but nominal. To specify: I want to convert/calculate a decimal as a fraction. So 0.333 would read 1/3 in a schedule, or 0.5 would read 1/2 and so forth. Any ideas? Thanks!

    -TZ
    Tannar Z. Frampton ™
    Frampton & Associates, Inc.

    #2
    ^Bump. Any possible way? Thanks!
    Tannar Z. Frampton ™
    Frampton & Associates, Inc.

    Comment


      #3
      Interesting. Do you have a specific number of fractions, for example just 1/2, 1/3, 2/3, or can it be any fraction?

      Only thing I can think of from the top of my head is to create a formula with a text value IF X=0.5 Then '1/2' or something like that, where 1/2 is plain text.
      Company Website: www.deurloobm.nl
      Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

      Comment


        #4
        Originally posted by Robin Deurloo View Post
        Interesting. Do you have a specific number of fractions, for example just 1/2, 1/3, 2/3, or can it be any fraction?

        Only thing I can think of from the top of my head is to create a formula with a text value IF X=0.5 Then '1/2' or something like that, where 1/2 is plain text.
        Thanks for your response Robin. What I'm ultimately looking for is a true conversion of any decimal number (if possible). The text based if() statement would work in simple scenarios in which the fractional value is expected. The source of this endeavor is a small math calculation for motor horsepower. For calculating which one to use, it works in fractions, not decimal.

        -TZ
        Tannar Z. Frampton ™
        Frampton & Associates, Inc.

        Comment


          #5
          Could you do something with the round() function?
          Wouldn't work if you need to mix 1/3 and 1/4, but if all you want is eighths or sixteenths, you might be able to make it work.
          You might also need to do some hack work, like multiply by 16, round, and then divide by 16.
          Dave Plumb
          BWBR Architects; St Paul, MN

          CADsplaining: When a BIM rookie tells you how you should have done something.

          Comment


            #6
            If it is all based on math you could end up with 123/256 or something, right?
            Company Website: www.deurloobm.nl
            Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

            Comment


              #7
              Originally posted by tzframpton View Post
              I think this may have been asked before but is nominal fractions a possibility? Not feet and inches, but nominal. To specify: I want to convert/calculate a decimal as a fraction. So 0.333 would read 1/3 in a schedule, or 0.5 would read 1/2 and so forth. Any ideas? Thanks!
              I did something like this with a lookup table but it would require that you know what values you might wind up with. In this case, you're actually asking Revit to go from a Number to a Text parameter. There's no way to get the value 1/3 to show up as anything other than text.
              Greg McDowell Jr
              about.me/GMcDowellJr

              Comment


                #8
                This is the second or third thread recently, where people have proposed running calculations to change things from Decimal to Fractions, or vice versa. You do know that you can JUST change the way the schedule displays the values, to Fractions, right? You can have the schedule show Fractional inches all day long, and set the schedule to round to whatever increment you want it to be.

                The trouble there, is you cant do 1/3's, as Revit doesnt recognize thirds as irrational, so it rounds them to 85/256".

                The 85/256 is annoying, for sure. But i dont know that i would risk any math mistakes in setting up and maintaining the rest of it, just to change them to 3rds, given that thirds and 6ths are the only ones that should not work correctly.
                Aaron "selfish AND petulant" Maller |P A R A L L A X T E A M | Practice Technology Implementation
                @Web | @Twitter | @LinkedIn | @Email

                Comment


                  #9
                  Thanks Aaron, good idea on the fractional inches. That would work for sure, but exhaust fan motors are displayed in fractions like 1/3, 1/6, 1/20 and so forth for horsepower. Maybe I'll take this info back to the drawing board with my engineer that's asking and see why the fractional part is necessary for his calc.

                  -TZ
                  Tannar Z. Frampton ™
                  Frampton & Associates, Inc.

                  Comment


                    #10
                    Originally posted by tzframpton View Post
                    Thanks Aaron, good idea on the fractional inches. That would work for sure, but exhaust fan motors are displayed in fractions like 1/3, 1/6, 1/20 and so forth for horsepower. Maybe I'll take this info back to the drawing board with my engineer that's asking and see why the fractional part is necessary for his calc.

                    -TZ
                    Ahh, sorry about that. I missed the intermediate post about the motor horsepower. Id be more interested in seeing the match calculations involved, that produces the Number that you want as a fraction. I could see actually using nested components as the motors, where the nested component doesnt do anything but the math calculation and output, based on the input of the parent family.
                    Aaron "selfish AND petulant" Maller |P A R A L L A X T E A M | Practice Technology Implementation
                    @Web | @Twitter | @LinkedIn | @Email

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X