Ali Torabi

Digital Architecture & Technology

Animating parametric array »« Circular pattern response to an attractor object

Parametric brick wall.


Parametric stone wall

Level: Advanced
In This Video:

  • Positioning items based on other items location and dimensions.
  • Randomize function inside the script controller.
  • How to use getItem function to address a specific property of an item inside the array.
  • Note: the getItem function returns the value of specific property of the specific object inside the array.
    getItem index:[index1,index2,index3] prop:property

    , , , , , , , ,
    April 22, 2010 at 5:01 pm
    • December 9, 2011 at 7:29 pmalex

      is the tutorial just for the parametric size, or also for the displacement of the bricks?
      or is the displacement just the y-position you need to randomize?

    • July 28, 2010 at 10:08 pmadmin

      No problem, I’ll send it to your email. It actually tells us that there are some difficulties in understanding of some feature of script controller. I’ll be modifying them in next version.

    • July 25, 2010 at 8:29 amFelice DeNigris

      Hey Ali, I’m sorry to be a big nag, but my efforts with this effect are driving me nuts. I can admit my stupidity, because you were kind to answer my questions multiple times and I still can’t figure this basic task out. I was wondering if you could be kind enough to send me a max file with really basic setup of this with boxes. That way I can follow your source code and look through the file to really get a deeper understanding. I promise this is the last time I ask.

    • June 21, 2010 at 10:08 amAli

      Yes , you need to, but make sure you copy them correctly, the blank spaces between each two arguments are mandatory.

    • June 21, 2010 at 8:56 amFelice DeNigris

      Thank you for taking a look at my file so quickly. One other thing, do I still have to copy the values for length and width from the video still? I assume I do but not sure?

    • June 17, 2010 at 8:14 pmadmin

      Hi Felice,
      Here is the code, Just copy And Paste:
      p1=getItem Index:[index1-1,index2,1] prop:y_position
      W1=getItem Index:[index1-1,index2,1] prop:width
      w2=getItem prop:width

      P1=getItem Index:[1,index2-1,1] prop:z_position
      L1=getItem Index:[1,index2-1,1] prop:length
      L2=getItem index:[1,index2,1] prop:length

      You had some maxscript syntax problems

    • June 17, 2010 at 11:34 amadmin

      You can array up to 64 items.

    • June 17, 2010 at 11:02 amhello

      what’s the limit of demo

    • June 16, 2010 at 8:46 pmFelice DeNigris

      I’ll send you a file with what my settings as well. I greatly appreciate your effort. I really want to understand the features of this script. Thanks again Ali.

    • June 13, 2010 at 9:14 amadmin

      No, It should work. show me the codes you entered in script panel.

    • June 13, 2010 at 12:13 amFelice DeNigris

      Well I am using 2011, could that be a reason it’s not working properly?

    • June 12, 2010 at 10:47 amadmin

      Hi Felice,
      soon there would be online help! so until then you can send me the max file (2009 or 2010). I try to fix that error.

    • June 12, 2010 at 5:57 amFelice DeNigris

      Hi Ali, I tried using the following script controller for a brick wall I want to create. I copied the code you use for X Position and I wrote it for Y Postition and the Z Position I left like yours. I wanted to array on the Y axis instead of the X. However when I press preview I get an error message : –No “”+””function for undefined ???????? What could that be? I’m not sure because I am horrible with script languages and formulas. I just like to create the design and skip the math. Hope you can help me out. You’d be a great hand. Thanks

    Leave a Reply or trackback

    You must be logged in to post a comment.