Page 1 of 2 12 LastLast
Results 1 to 10 of 13
Like Tree2Likes

Thread: Constraints & array

  1. #1
    Junior Member
    Join Date
    January 17, 2011
    Location
    Nantes, France
    Posts
    6
    Current Local Time
    12:57 AM

    Question 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!
    Constraints & array-c-a1.jpgConstraints & array-c-a2.jpgConstraints & array-c-a3.jpgConstraints & array-c-a4.jpg

  2. #2
    JCM
    JCM is offline
    Spanish Moderator JCM's Avatar
    Join Date
    December 17, 2010
    Location
    Pembroke Pines, FL
    Posts
    571
    Current Local Time
    06:57 PM
    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

  3. #3
    Member RabbitHole's Avatar
    Join Date
    January 4, 2011
    Posts
    98
    Current Local Time
    02:57 PM
    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 23rd, 2011 at 04:46 PM.

  4. #4
    Ideate Inc. RonPalmaAEC's Avatar
    Join Date
    February 15, 2011
    Location
    Portland, Or
    Posts
    20
    Current Local Time
    03:57 PM
    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.
    cganiere likes this.

  5. #5
    JCM
    JCM is offline
    Spanish Moderator JCM's Avatar
    Join Date
    December 17, 2010
    Location
    Pembroke Pines, FL
    Posts
    571
    Current Local Time
    06:57 PM
    Quote 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

  6. #6
    Moderator
    "Mark Twain"
    mdradvies's Avatar
    Join Date
    December 16, 2010
    Location
    Boxtel, Netherlands
    Posts
    4,553
    Current Local Time
    10:57 PM
    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.

  7. #7
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    9,532
    Current Local Time
    04:57 PM
    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.
    cganiere likes this.

  8. #8
    Junior Member
    Join Date
    January 17, 2011
    Location
    Nantes, France
    Posts
    6
    Current Local Time
    12:57 AM
    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

  9. #9
    Member
    Join Date
    August 12, 2011
    Posts
    80
    Current Local Time
    10:57 PM
    Quote 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 ?

  10. #10
    Moderator mark b's Avatar
    Join Date
    December 7, 2010
    Location
    NSW Australia
    Posts
    1,427
    Current Local Time
    09:57 AM
    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 Attached Files

Page 1 of 2 12 LastLast

Similar Threads

  1. Array nested voids in a family
    By dzatto in forum Architecture - Family Creation
    Replies: 7
    Last Post: May 25th, 2012, 02:10 AM
  2. Interiors & equipment loading | Creating RDS & RLE packages
    By snowyweston in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: May 6th, 2011, 08:49 AM
  3. Design options and constraints
    By jbenoit44 in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: April 12th, 2011, 11:33 AM
  4. Controlling width and length of array in line based families
    By tweg in forum Architecture - Family Creation
    Replies: 4
    Last Post: April 5th, 2011, 01:57 PM
  5. Array in a family
    By kingjosiah in forum Architecture - Family Creation
    Replies: 4
    Last Post: March 22nd, 2011, 09:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •