Announcement

Collapse
No announcement yet.

family Origin?

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

    family Origin?

    I think this is a no, but is it possible to tell from within a family document which reference planes are origin defining? I'm looking to tell if one family swapped for another will 'jump'.

    For instance if a door is in the project and it's origin has been somehow moved to the 'Left' reference plane and another is loaded to replace it that is defined based on 'Center Left/RIght' it will move the location of the object significantly. Is there a way to determine programatically if this will happen?

    #2
    I don't think there is a way to do it other than trying it or going into the families and seeing which two references define their origin.

    Comment


      #3
      When you first create a family the 2 RPs that are in your family define its origin???? Center Left/Right Center Top/Bottom, for the most part you cant delete these and they should have a property that says "defines origin".... I think I am missing somthing.
      -Alex Cunningham

      Comment


        #4
        Originally posted by Alex Cunningham View Post
        When you first create a family the 2 RPs that are in your family define its origin???? Center Left/Right Center Top/Bottom, for the most part you cant delete these and they should have a property that says "defines origin".... I think I am missing somthing.
        I know that the origin is defined by those two planes at first, however the user could potentially change the origin defining reference planes in a family, and I know how to check that in the interface. However, what I am looking for is a way to do it through the API. I'm fine if it has to be 'Open family, find reference planes, check origin defining property, close family' but I was not able to find a way to determine if a reference plane defines origin via the API...

        Comment


          #5
          look at the built in parameter "DATUM_PLANE_DEFINES_ORIGIN" for each reference plane in the family (1 = true, 0 = false)
          http://krispcad.blogspot.com/

          Comment


            #6
            Originally posted by krispy5 View Post
            look at the built in parameter "DATUM_PLANE_DEFINES_ORIGIN" for each reference plane in the family (1 = true, 0 = false)
            You rock, all I have to say . Thanks, that's exactly what I needed!

            Comment


              #7
              flip it. The flip command (using the control arrows) will flip the families along the Origin Refplanes.
              Martijn de Riet
              Professional Revit Consultant | Revit API Developer
              MdR Advies
              Planta1 Revit Online Consulting

              Comment

              Related Topics

              Collapse

              Working...
              X