Results 1 to 7 of 7

Thread: Formula Array "Snap" to a given size?

  1. #1
    AUGI Addict
    Join Date
    2015-11
    Location
    Madison, WI
    Posts
    1,318
    Login to Give a bone
    0

    Default Formula Array "Snap" to a given size?

    Hi All,

    I posted the following on another thread, but it wasn't getting a response. So, I've restated it here. If you can help me figure out problem #4, I would be grateful.


    So, I was using the "Tutorial Arrays & Nested Families" to make a shelving standards family. I ran in to a few problems, mostly because I don't read everything. But here's what I got stuck on, and the solution I found/came up with.

    1) Array wouldn't stay in the correct location. I needed to lock the nested family to the reference planes.
    2) When family stretched to need addional components in the array, componets would extend beyond the reference planes on one side or another. I needed to check "Last" when setting up the array.
    3) Array formula didn't like my units. Divide all my length parameters by 1'-0".
    4) I want to have my array snap to a given size 2'-6", 3'-0", 3'-6" & 4'-0". Is this possible? and what would I need to setup in the family?

    Thanks,
    Jeff S.

  2. #2
    Revit Forum Manager Steve_Stafford's Avatar
    Join Date
    2001-12
    Location
    Irvine, CA
    Posts
    7,567
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Switching "types" is really the closest thing to "snap" to sizes we have. A line-based family is for "infinite" variety where variety is more important than specific sizes. As soon as there are specific sizes...types are "the way". I'm not suggesting the preset snap feature of dynamic blocks is wrong or not a good idea, just we don't have that feature.

  3. #3
    Revit Mararishi aaronrumple's Avatar
    Join Date
    2002-02
    Location
    St. Louis, MO
    Posts
    4,695
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Here's a quick sample of a family that snaps every 1'.
    A little more work an you can have it snapping every 6"
    Attached Files Attached Files

  4. #4
    I could stop if I wanted to dfriesen's Avatar
    Join Date
    2003-05
    Location
    Vancouver, B.C.
    Posts
    470
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Quote Originally Posted by aaronrumple View Post
    Here's a quick sample of a family that snaps every 1'.
    A little more work an you can have it snapping every 6"
    Ah, nice, I'll have to remember that method.

  5. #5
    Revit Forum Manager Steve_Stafford's Avatar
    Join Date
    2001-12
    Location
    Irvine, CA
    Posts
    7,567
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Not really an elegant solution when you have no idea what length it is as you alter it. Granted it is rounding to the nearest whole value but it doesn't stack up well in delivery against dynamic blocks which I assume is the benchmark the poster was using? Maybe not...

  6. #6
    Revit Mararishi aaronrumple's Avatar
    Join Date
    2002-02
    Location
    St. Louis, MO
    Posts
    4,695
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Quote Originally Posted by Steve_Stafford View Post
    Not really an elegant solution ...
    I do the best I can with what I've got...

  7. #7
    Revit Forum Manager Steve_Stafford's Avatar
    Join Date
    2001-12
    Location
    Irvine, CA
    Posts
    7,567
    Login to Give a bone
    0

    Default Re: Formula Array "Snap" to a given size?

    Quote Originally Posted by aaronrumple View Post
    I do the best I can with what I've got...
    Good one! Twoshay~

Similar Threads

  1. 2015: What determines instance parameter grip "snap" and "align" behavior?
    By patricks in forum Revit Architecture - General
    Replies: 4
    Last Post: 2019-05-20, 08:45 PM
  2. 2013: How to use this Formula,"Formula That Returns Strings"?
    By mike99 in forum Revit Architecture - General
    Replies: 4
    Last Post: 2013-01-09, 06:28 AM
  3. Replies: 1
    Last Post: 2012-07-04, 04:54 PM
  4. Replies: 0
    Last Post: 2012-06-06, 11:54 AM
  5. Formula Property Definition : "Sample Result"
    By julien.hofman in forum Style Management
    Replies: 2
    Last Post: 2008-08-01, 10:18 AM

Posting Permissions

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