Announcement

Collapse
No announcement yet.

Parametric Array with a value of 1?

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

    Parametric Array with a value of 1?

    Hi all, first post, please be gentle.

    I'm trying to make a family which is built using a parametric array. For values of 2 and above it works fine, however there is a condition where there array needs to be a single element. Now I know you can't have an array with a value of 1 however is there a clean and simple way to have the array simply not operate when the value is one or maybe just be turned off?

    Any thoughts or suggestions gratefully received.

    Cheers

    Keith.
    It's impossible to make anything foolproof as fools are so ingenious.

    #2
    Hello, and welcome

    Place a single element over your first item of your array, so you have 2 elements overlaped. Then you have a visibility parameter over this single element like Visibility Single Item. Also a visibility parameter over the array like Visibility Array.
    The array is driven by

    Number Array: if(Number User Input<2,2,Number User Input)
    Number User Input -> has no formula. here you set the number you need

    your visibility parameters have the formula below:
    Visibility Single Item: Number User Input<2
    Visibility Array: not(Visibility Single Item)

    In the family editor the invisible things are not so obvious (they are grey). Test in the project.
    Last edited by gaby424; November 30, 2012, 02:00 PM.

    Comment


      #3
      Hi Gaby,

      Thanks for the quick reply! I understand what you are suggesting but don't quite understand the first equation - it appears to be a circular reference - have I missed something?

      Originally posted by gaby424 View Post
      Number Array: if(Number User Input<2,2,Number Array)
      Edit : got it - array should read Number Array: if(Number User Input<2,2,Number User Input) Cheers K..
      Last edited by KWilkinson; November 30, 2012, 11:46 AM.
      It's impossible to make anything foolproof as fools are so ingenious.

      Comment


        #4
        Thanks Gaby - that all works perfectly now.
        It's impossible to make anything foolproof as fools are so ingenious.

        Comment


          #5
          Originally posted by K.. View Post

          Edit : got it - array should read Number Array: if(Number User Input<2,2,Number User Input) Cheers K..
          you are right, my mistake glad it worked.(edited the post)

          Comment


            #6
            I keep submitting this as a Wish List, but it has never made it into development.
            Think how much simpler our Families could be if an Array could have a value of 1!
            Or 0, for that matter.
            Dave Plumb
            BWBR Architects; St Paul, MN

            CADsplaining: When a BIM rookie tells you how you should have done something.

            Comment


              #7
              Originally posted by DaveP View Post
              I keep submitting this as a Wish List, but it has never made it into development.
              Think how much simpler our Families could be if an Array could have a value of 1!
              Or 0, for that matter.
              Given how poorly the array command functions, I'd back this up if they also did a complete overhaul of the command.
              Developer at Anguleris BIMsmith Marketplace.
              Previously at Sumex Design for ARCAT.com

              Comment


                #8
                Originally posted by DaveP View Post
                I keep submitting this as a Wish List, but it has never made it into development.
                Think how much simpler our Families could be if an Array could have a value of 1!
                Or 0, for that matter.
                Technically speaking you cant mathematically have a array of less than 2... But I do support the idea of a repeating command that allows for values less then 2.

                Originally posted by Andrew K View Post
                Given how poorly the array command functions, I'd back this up if they also did a complete overhaul of the command.
                Have you seen divide and repeat? Still limited with its min and max abilities... but its a damn good way to array.
                -Alex Cunningham

                Comment


                  #9
                  Originally posted by Alex Cunningham View Post
                  Have you seen divide and repeat? Still limited with its min and max abilities... but its a damn good way to array.
                  I have, and it functions much more like I'd envision a regular array command would work. The one we currently have is just too limited without knowing the intricate nesting needed to make them work logically.
                  Developer at Anguleris BIMsmith Marketplace.
                  Previously at Sumex Design for ARCAT.com

                  Comment


                    #10
                    Visibility Array parameter

                    Originally posted by gaby424 View Post
                    [...]Also a visibility parameter over the array like Visibility Array. [...]
                    How do you set that!? When i select the array i have no one visibility parameter in the properties tab. And how can i connect it to the parameter "Visibility Array"?!:banghead::banghead::banghead::banghead:

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X