Originally Posted by
fkellogg
Here's one I drew up. I couldn't just explain how to do this without making one myself.
It has one stud at each end of the wall, and an "array" for the infill studs.
First of all, you MUST have the Properties Pallette open, so you can edit attributes that you may not even know are in there.
I started with two X-box stud representations, and two lines, at top & bottom.
I applied a vertical "linear stretch" from zero to the top of the stud. You must then double-click the ! at the stretch action, and grab the top of the studs and both endpoints of the connecting line with a crossing box. Set the distance to a "list" of 75 & 100 only, because you only want the two sizes, not an infinite. Zero Grips on the distance parameter. I used a lookup to get the wall thickness size, instead of a grip.
Make sure the lookup is set to "Allow reverse lookup". For some reason, whenever you alter these, they revert to "read only" . I can't imagine the purpose of a read-only lookup.
I then put in a horizontal array, of just the left stud, setting "columns" distance to 450.
Next is the horizontal stretch, including the second stud and the two horizontal lines, as well as the right end and the grip of the array stretch.
I found that I needed to set the origin point of the array off to the left of 0,0 in order to automatically get a stud in the last space before the last stud, as soon as it goes over 450+75. If you stretch the wall to the right, you get the infill studs, even without having a grip for the array.
Others may be able to improve on this, but I saw that you had gotten only one response, so here's mine. I have found that DB's are a seriously trial & error and re-trial accomplishment. I start by making the basics of a block and w-block it out. Then I start a blank drawing and insert the new block. Then I double-click on the block and futz with it in block editor, closing and re-opening it many times, until I get it right. this creates a new block definition with the same name, but only in the current drawing. You must w-block and overwrite the original block, in its original location.
If you ever futz with a DB after inserting it into another drawing, make SURE you w-block and overwrite the original, or you will possibly lost track of where you made all those nifty new features to your "baby".
Keep at it!
Frank