Announcement

Collapse
No announcement yet.

How to drive negative values? using reference lines?

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

    How to drive negative values? using reference lines?

    Hi all,

    Could someone please explain to me why you can drive reference lines negative? The formula calculates that when the angle is at -45degrees the height is -67.2 which is correct, but get annoying error. "Parameter HEIGHT has an invalid value"

    Attached Files

    #2
    There's a trick to it. Lengths can only have positive values. Use a couple more references and labeled dimensions with formula -- if x<0 then abs(x) else 0 -- if x>0 then x else 0 -- or something like that! Search the forum... it's out there!


    Sent from my iPhone using Tapatalk
    Greg McDowell Jr
    about.me/GMcDowellJr

    Comment


      #3
      This is what I've used to get offset values to accept a negative value - it might help with the theory: Strategy for Negative Values in Family Parameters. Revit - dp Stuff
      Julie Kidder
      Architect + BIM Director
      Hartman + Majewski Design Group

      Comment


        #4
        Cheers for the replies, quite annoying how you have to apply more methods for something so simple.

        Comment


          #5
          you could also just do abs(formula here) and it will always give a positive value.
          Brian Mackey |BD Mackey Consulting
          www.bdmackeyconsulting.com/blog
          @Twitter

          Comment

          Working...
          X