Announcement

Collapse
No announcement yet.

Constraints & array

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

    Constraints & array

    Hey there,

    I'm looking for some wisdom right now.
    In a family I'm creating, I have a sweep between two reference planes. The distance between these two planes is a parameter. When I change the value of this parameter, the length of my sweep changes with it. Everything works smoothly. This is the nice part.

    The not so nice part is that I need an array of this sweep. When created, I realize that when I change the value of my parameter, not a single element of the array changes.

    Question: is it possible to make things work (ie: every element of the array sees its length changing with the value of the parameter) with this method, considering the fact that it is a lot easier for me to use the array fonction to create copies of my sweep? Any other option is of course welcome!
    Click image for larger version

Name:	c&a1.JPG
Views:	1
Size:	38.4 KB
ID:	403354Click image for larger version

Name:	c&a2.JPG
Views:	1
Size:	41.9 KB
ID:	403351Click image for larger version

Name:	c&a3.JPG
Views:	1
Size:	45.1 KB
ID:	403352Click image for larger version

Name:	c&a4.JPG
Views:	1
Size:	50.4 KB
ID:	403353

    #2
    You can try creating a reference "line" instead of a reference plane and lock them (the sweeps) to the reference planes that control the top and bottom of the sweep.

    Then add a length parameter between the planes
    Next, create the sweep but for the path click pick path instead of sketch path.
    Pick the reference line you created and then finish and create your profile
    finish that and continue with the steps you used for the array
    The reference line should be locked to the reference planes and since the sweep is controlled by the reference line it should work now

    Maybe someone else has an easier approach but I hope this helps
    Juan Carlos Moreno
    Store Designer & Merchandising Manager
    Sisley Cosmetics

    Comment


      #3
      Good day Guilaume.
      I have found that when I get into these kind of families that nested families tend to work the best.
      1- Create the sweep that you want as a family (call this shape) with parameters set on reference planes for the length.
      2- Load this sweep into a new family ( call this shape array) and array it here and place a parameter on the array that is driven by other parameters in the model. Assign the width under the properties of the seep family with new parameters so they match the current family.
      3- If you have a frame that this all needs to sit within then you can creat another family and load the one from 2 into 3 and just set the parameters to the current family.

      Hope this helps.
      I have a sample family some where. i will try and find it for you

      this is one that was made for a curtain panel
      Parametric Louver Panel.rfa
      Last edited by RabbitHole; February 23, 2011, 03:46 PM.
      MW

      Comment


        #4
        I was able to accomplish this by the following:
        1. Create a Reference Line the initial desired length.
        2. Add a Length Dimension to each end of the Ref Line.
        3. Create Sweep/Swept Blend by using the Ref Line as the Path.
        4. Create the Profile shape/shapes
        5. Array the Sweep/Swept Blend, the Reference Line, and the Length Dimension.

        Ron Palma
        Ideate Inc.
        Ron Palma
        Applications Specialist
        Twitter: @RonPalmaAEC
        Ideate Inc.
        www.ideateinc.com

        Comment


          #5
          Originally posted by RonPalmaAEC View Post
          I was able to accomplish this by the following:
          1. Create a Reference Line the initial desired length.
          2. Add a Length Dimension to each end of the Ref Line.
          3. Create Sweep/Swept Blend by using the Ref Line as the Path.
          4. Create the Profile shape/shapes
          5. Array the Sweep/Swept Blend, the Reference Line, and the Length Dimension.

          Ron Palma
          Ideate Inc.
          This is exactly what I meant in a more organized and clear way
          Juan Carlos Moreno
          Store Designer & Merchandising Manager
          Sisley Cosmetics

          Comment


            #6
            Well, in general there are a few options:

            Constrain to a refplane on both ends and lock all arrayed items to it. This won't be enough if the array number is a parameter and can change.
            Create a nested component and link the length parameter through to the host family. This always work but you would have to know how to do this.
            Create an array which includes the length parameter (which you did).

            In my experience, the second option is the most robust and less likely to break.
            Martijn de Riet
            Professional Revit Consultant | Revit API Developer
            MdR Advies
            Planta1 Revit Online Consulting

            Comment


              #7
              Its going to break if its not a nested family. You can constrain the array, OR you can constrain the object in the array. The moment you wanrt to do both, it freaks out. Nested all the way.

              Plus, it responds much faster if its nested.
              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


                #8
                Hey guys,
                Thanks to all of you for your answers, but thumbs up to RabbitHole and Twiceroadsfool as the functionning way in my case was to use a nested family. The only thing is that I skipped Rabbit's second step, and directly inserted the #1 family in the final design.

                I there discovered a very useful trick (I'm new in the Revit connection, so please spare me ): you can constrain the property of a component (for example its length) with a parameter.
                And there it was; magic!

                Good evening (or good day) to you all
                Guillaume

                Comment


                  #9
                  Originally posted by JCM View Post
                  This is exactly what I meant in a more organized and clear way
                  THis is all right with Sweep/Sweep blend. But when I tried with Extrusion, there still was the problem like the case of Guillaume. How to deal with it ?

                  Comment


                    #10
                    Here is an old tutorial from Mr Spot (old Augi days), I have had hanging around for years, for a louvre nested array with angle parameter for louvre. Worth doing just for the experience.
                    Attached Files
                    Mark Balsom

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

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X
                    😀
                    🥰
                    🤢
                    😎
                    😡
                    👍
                    👎