Display Partial Elements of Array

Display Partial Elements of Array

ryanposter
Explorer Explorer
1,209 Views
2 Replies
Message 1 of 3

Display Partial Elements of Array

ryanposter
Explorer
Explorer

Not sure how to even concisely put into words what I'm trying to do, to google it.

 

I have a bar I'm trying to label 1,2,3,1,2,3... each number at a fixed interval as I lengthen the bar.  Displaying them as they fit, but it does not necessarily end with 3, and that's what I can't figure out.

0 Likes
Accepted solutions (2)
1,210 Views
2 Replies
Replies (2)
Message 2 of 3

Libbya
Mentor
Mentor
Accepted solution

This doesn't have anything to do with your specific question, but it is bad practice to place the base point parameter anywhere other than at 0,0 within block editor.  It can cause a variety of issues with dynamic blocks.  Instead, adjust all of the other linework/parameters/actions so that the base point is at 0,0.  The only time a base point parameter is necessary or beneficial is when you want the base location of the block to be dynamically changed.  You don't in this case, so you shouldn't even add a base point parameter. 

 

I would also mention that you have some discrepancies within your block that are smaller than 1/256 of a unit.  This may not seem like a big deal, but arrays need to be exact or it can cause the new arrayed items not to appear when you want them to.  

 

Regarding your specific question, arrays function in the following manner.  When the associated parameter is equal to the column offset of an array action, the initial arrayed object 'exists'.  When the associated parameter is equal to 2X the column offset of an array action, the first new arrayed object is created.  When the associated parameter is equal to 3X the column offset, the second new arrayed object is created, etc...

 

With the above knowledge and the judicious use of chained linear parameters, you can make the new arrayed objects appear at any point you wish.

 

See the following screencast:  https://knowledge.autodesk.com/community/screencast/dadf6336-d143-4435-968d-03d789cdbf55

0 Likes
Message 3 of 3

j.palmeL29YX
Mentor
Mentor
Accepted solution

The attached example demonstrates the principle how to build such "repeating" array. 

 

HTH

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes