Announcement

Collapse
No announcement yet.

Parameter that works as a Type, not as an Instance

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

    Parameter that works as a Type, not as an Instance

    Supply.rfa

    Here is the file for the follwing issue.


    OK, so this is a strange one for me.

    I have a face based family that I'm working on.

    I have a parameter that changes the distance of how far a modled object is away from the face.

    Not wanting a different type everytime the distance changed, I set this as an instance parameter.

    Everything seems to be working fine, so I load it into the project file, and that's when it gets odd.

    Now the distance parameter no longer works. So reopend the family, checked, and it works there.

    One thing I noticed was that despite the fact that the modeled object didn't move, the "Flip Workplane" tab (the 2 blue arrows) did move. Meaning that the reverance plane that hosts the modeled object IS in fact moving.

    With that in mind, hopped back in the file to check AGAIN! Nope, model is hosted to the ref plan and is working fine and dandy in the family editor. :banghead:

    Strange I thought. So now I start throwing darts to figure it out.

    The first thing I change was to set the distance parameter as a Type instead of an Instance.

    Loaded it back in, and YUP! Works perfect. Changed it back to an Instance, and no longer works.

    So, the problem is that the parameter is working as both a Instance and Type, but the modeled information is only moving if it's a Type parameter.

    That make any sense to anyone?!?
    :crazy:
    Last edited by Stuntmonkee; March 10, 2011, 02:44 PM. Reason: Upload File
    Jasen Arias

    "Thats all I got for now."

    #2
    Can you upload the family for us to have a look at ?
    Mark Balsom

    If it ain't broke, fix it till it is.

    Comment


      #3
      Done, at the begining of the original post.
      Jasen Arias

      "Thats all I got for now."

      Comment


        #4
        My take is that you used the wrong plane to dimension. In this case, you need to reference the dimline to the Reference Level Line, not the refplane locked to it. Change this and it works fine...
        Martijn de Riet
        Professional Revit Consultant | Revit API Developer
        MdR Advies
        Planta1 Revit Online Consulting

        Comment


          #5
          I gave that a go, and still nothing.

          Remember, it's not that it doesn't work. It just doesnt work if it's an instance parameter.

          I located the dim to all 3 locations (face, ref level, ref plane), and all 3 had the same issue.

          Did you test it and get it to work? Maybe I'm missing something.
          Jasen Arias

          "Thats all I got for now."

          Comment


            #6
            ok, sorry! I did change something else too:

            In the family, select the "floating" element. It has an offset value in the properties. Select the grey square next to the offset field and select the "Above Finished Floor Height" in the parameter window.
            Now it works for instance parameters too, see attached.
            Attached Files
            Martijn de Riet
            Professional Revit Consultant | Revit API Developer
            MdR Advies
            Planta1 Revit Online Consulting

            Comment


              #7
              Rock star!

              Didn't even think to look at that.

              Still, not sure I understand why it would work as a type and an not as an instance. But either way, good to go!

              Thanks a million. This one had me all wrapped up.
              Jasen Arias

              "Thats all I got for now."

              Comment

              Related Topics

              Collapse

              Working...
              X