Rectangular Array Block with Rectangles in Array

Rectangular Array Block with Rectangles in Array

contact_engrfaiz
Participant Participant
1,484 Views
6 Replies
Message 1 of 7

Rectangular Array Block with Rectangles in Array

contact_engrfaiz
Participant
Participant

Hi I want to create a dynamic block containing Rectangles in Rows and Columns

with following input parameters

1. Number of Rows

2. Number of Columns

3. DISTANCE between Rows

4. Distance between columns

5. Rectangle Width

6. Rectangle Height

 

Can any one help me how to do that. Basically i want to get an idea ho to create dynamic Array with input parameters and dynamic source object with input parameters. You can use Circle in place of Rectangle.

0 Likes
Accepted solutions (2)
1,485 Views
6 Replies
Replies (6)
Message 2 of 7

c_hornyak
Contributor
Contributor

Points 1 and 2 can be accomplished with an XY parameter and an array action but the input will be a distance instead of a quantity. 

 

Points 3 and 4 can be accomplished with that array action under the "row offset" and "column offset" in the block editor properties. 

 

Points 5 and 6 can be accomplishjed with linear parameters and stretch actions.

 

This isn't working perfectly for me yet, but attached is what I have.

0 Likes
Message 3 of 7

contact_engrfaiz
Participant
Participant

Thanks Alot. I will go through your block. Actually I am in need of array in a dynamic block where editing the source object also  changes all objects linked. And this should be done outside block. No editing in block. Simple option available in Properties to edit source object. Problem I am having is when i apply array. All constraints linked with source object gets removed. 

0 Likes
Message 4 of 7

j.palmeL29YX
Mentor
Mentor
Accepted solution

This exceeds the capabilities of AutoCAD's Dynamic Blocks. It is not possible to do both at the same time: to change the geometry of the source objects(s) AND to vary the properties (numbers and/or distances of the rows/columns) of an array. (AFAIK). 

 

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
Message 5 of 7

contact_engrfaiz
Participant
Participant

So as a professional how to solve this kind of issues?

0 Likes
Message 6 of 7

j.palmeL29YX
Mentor
Mentor
Accepted solution

Pragmatic answer: use another program that can handle this situation. 😞

 

(Sorry, but even if you have the best car of the world - if you want to fly you need another "tool", e.g. airplane). 

I am aware that you will not be satisfied with this answer., but in AutoCAD I don't know a (comfortable *1) ) solution. 

 

 

*1): A possible workaround: 

Draw the source object (rectangle) and create any array. Save this as block. 

Now you can insert this block, explode it and edit the source object or the other properties of the array. 

This can you repeat as often as you want. 

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
Message 7 of 7

c_hornyak
Contributor
Contributor

Following up on what Jurgen said, you could just make the single rectangle a block and follow use linear parameters and stretch actions to take care of your points 5 and 6. Then, the width and height can be edited in properties. Use the ARRAY command on this block to take care of your points 1/2/3/4.

0 Likes