-ARRAY how to calculate MAXARRAY value

-ARRAY how to calculate MAXARRAY value

nam_h_tran
Advocate Advocate
498 Views
6 Replies
Message 1 of 7

-ARRAY how to calculate MAXARRAY value

nam_h_tran
Advocate
Advocate

In -ARRAY command, i can set the MAXARRAY value lower to decrease the value of array can create. 

I wanna know the formula to calculate when input value to create array. We have both polar array and rectangular array and seem like it calculate different. 

Polar about: input number of items in array. But if in case i just press Enter, it will going to: angle to fill and angle between items. I wanna know the formula to calculate in this case. 

Rectanglar: (number of columns * number of row) * number of selected objects- number of selected objects.

I wanna know the formula to calculate this.

Thanks alot. 

0 Likes
Accepted solutions (2)
499 Views
6 Replies
Replies (6)
Message 2 of 7

imadHabash
Mentor
Mentor
Accepted solution

Hi,

 

In AutoCAD, the MAXARRAY system variable sets the maximum number of items that can be created in an array. If the number of items in your array exceeds this limit, AutoCAD will not allow the operation.

To calculate the total number of items in an array and ensure it does not exceed the maxarray limit, you can use the following formulas based on the type of array:

1. Rectangular Array

  • Formula:

    Total Items=(Rows)×(Columns)×(Levels)
    • Rows: Number of rows in the array.
    • Columns: Number of columns in the array.
    • Levels: Number of levels (3D array; set to 1 for 2D arrays).
  • Example:
    If you set 10 rows, 10 columns, and 2 levels:

    Total Items=10×10×2=200

    Ensure this value does not exceed the maxarrayvalue.

2. Polar Array

  • Formula:

    Total Items=Number of Items
    • This is simply the total number of items distributed around the specified center point.
  • Example:
    If you specify 36 items in the array:

    Total Items=36

 

  • If the calculated Total Items exceeds the value of maxarray, AutoCAD will stop the operation and display an error.
  • You can adjust maxarray by typing the variable name and entering a higher or lower value, depending on your needs and system capacity.

 

Imad Habash

EESignature

0 Likes
Message 3 of 7

nam_h_tran
Advocate
Advocate
thanks a lots, about the case in polar array: i not enter any value for number of items. Just pressing enter immediately and it will get value none. Then i just choose the angle to fill and angle between items, how it calculate now?
0 Likes
Message 4 of 7

imadHabash
Mentor
Mentor

Would you elaborate more the last issue please?

 

Imad Habash

EESignature

0 Likes
Message 5 of 7

nam_h_tran
Advocate
Advocate
about this case in -ARRAY command:
choose polar
choose center point
Enter the number in array: just press enter, don't input anything
Then it move to: specify the angle to fill: enter value normally
angle between items: enter value normally
Rotate array: choose y/n normally.
0 Likes
Message 6 of 7

imadHabash
Mentor
Mentor
Accepted solution

If you don't put the number of items as you said .. AutoCAD will continue the command depending on 

Angle between items:

Now if you don't put any angle .. AutoCAD will NOT continue the command :

Requires valid numeric angle or second point.

 

So... If there is NO input for number of items AutoCAD will not finish the command without the angle. Also If you enter a value for number of items .. AutoCAD will NOT ask for the angle between items.

Click on below image to see what i mean..

 

-Arr.gif

Imad Habash

EESignature

Message 7 of 7

nam_h_tran
Advocate
Advocate
a. In angle between items case. When i choose angle to fill 360 and angle betweens items is 80, it drawing about 4 objects. But with 359 and 80 it will drawing 5 objects.
0 Likes