Set variable parameter for array offset

Set variable parameter for array offset

Anonymous
Not applicable
2,317 Views
13 Replies
Message 1 of 14

Set variable parameter for array offset

Anonymous
Not applicable

Hi,

first, I hope that this question was not answered here before (I couldn't find anything) and that I can convey my problem properly, since I don't have the english version and don't know if all the phrases i use are correct.

 

I want to build a Block that has the following functions:

- an array consisting of two source elements -> in this case two racks with an aisle in the middle

- the racks have to be adjustable in their sizes (length, width and aisle in-between them) <- that I have already done

 

Now comes the part where I couldn't find a solution to:

- I want the array to build up multiple of these elements, so a warehouse with racking. An aisle should have the racks next to each other and for another aisle two racks on either side and between the aisle the racks back-to-back.

- when I change the sizes in the source element I want the sizes of all the array elements to change aswell (that I have figured out) but I also want the offset between the elements of the array change live aswell. I experimented with parameters by only found some that are fixed and change the drawing. In my line of thought I would need parameters that change following the drawing and can be used as a variable for the array offset.

 

I hope my explanation is clear and also thanks in advance.

0 Likes
2,318 Views
13 Replies
Replies (13)
Message 2 of 14

j.palmeL29YX
Mentor
Mentor

@Anonymous wrote:

 

- when I change the sizes in the source element I want the sizes of all the array elements to change as well (that I have figured out) ...


 

Post your file please what you have until now. 

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 3 of 14

Anonymous
Not applicable

Here it is. Of course I have not yet set an array for the block yet, since I assume I would have to set the parameters beforehand.

0 Likes
Message 4 of 14

j.palmeL29YX
Mentor
Mentor

It is the big dilemma in AutoCAD: if you use an array action, you can not drive the array properties (distances of items using any parameters or expressions). On the other hand, if you use the arraypath command, you can control the properties of the array with expressions, but you can no longer change the dimension values of the array elements.

I'm afraid what you want to achieve is not possible in AutoCAD.  

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

Message 5 of 14

thomas_schluesselberger
Advocate
Advocate

-

0 Likes
Message 6 of 14

j.palmeL29YX
Mentor
Mentor

@thomas_schluesselberger 

 

I can't download your file:  😞

 

DownloadError.png

 

 

Can you try to upload again please? 

(but maybe the error is on my side?)

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 14

thomas_schluesselberger
Advocate
Advocate
No, it's not your problem.

I deleted the comment, i understood you wrong. I'm trying something different now.
I think it would be possible to achieve this, by choosing the width via visibilty state (if that's ok in your case).
0 Likes
Message 8 of 14

So....

 

now the DWG is attached.

 

But still i don't think, that this does 100% what you want.

You can change the aisle-widht via visibilty state (i did it for 0,5 and 1).

The only problem is, when you set the aisle widht to a value and then change the widht of the rack it doesnt adapt to it.

 

But maybe this helps you in some way 🙂

0 Likes
Message 9 of 14

j.palmeL29YX
Mentor
Mentor

@thomas_schluesselberger wrote:

 

 

now the DWG is attached.

 

...  maybe this helps you in some way 🙂


 

I'm not the author of this thread and I think your suggestion doesn't meet what @Anonymous  wants to achieve. 

But let's wait until he  will be back again. 

 

 

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 10 of 14

Anonymous
Not applicable

Hi, thank you for your efforts.

Unfortunately this is not what I was looking for.

What I need, is that my previous block should be like I build it, but arranged in an array with automatically adjusted offsets.

0 Likes
Message 11 of 14

RomainD05
Participant
Participant

I have the same issue.
I create a cage on a truck's rear tray that its sizes come from parameters. When I have a fixed tray length, I would like to have cages by changing the number of cages as a parameter and then the Autocad would change the cage size and of course, then draw up the cages automatically in the tray.

 

0 Likes
Message 12 of 14

j.palmeL29YX
Mentor
Mentor

Post your file please. 

And add as much information about your intention as possible. 

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 13 of 14

RomainD05
Participant
Participant

Hi Mate,

We would like to utilize this file to facilitate a swift and efficient drawing for an upcoming presentation. This means we aim to streamline the process without burdening our engineers with the task of navigating the block editor to adjust parameters or manually reposition items.

Before diving into the block editor, kindly consider modifying the 'Gate_Qty' within the properties palette. You'll notice that altering this parameter results in the gates shifting position, which is advantageous. However, please note that the gate dimensions remain unaffected.

Inside the block editor, I initially established the gate's parametric properties. I rigorously tested a straightforward formula, which successfully adjusted the gate widths in response to changes in the gate quantity. Subsequently, to ensure the seamless manipulation of gates within the block environment, rather than as a conventional action in standard AutoCAD, I harnessed the array command. This approach allowed me to define the spacing between individual gates through the application of the formula and here is what happening.
Regards,

Amir

 

0 Likes
Message 14 of 14

j.palmeL29YX
Mentor
Mentor

See Post #4 above   😞

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