Array in dynamic block

Array in dynamic block

Vlalo
Participant Participant
1,428 Views
5 Replies
Message 1 of 6

Array in dynamic block

Vlalo
Participant
Participant

Hello,

 

I cant get working array and dynamic block together that I would have ability to have allthe stretch and move actions available same time with array functions, specially row spacing and column spacing to be modifiable. 

 

Visualisation is attached what I want to have. I also tried to build array into the block with the array parameter but I cant change row/column spacing. It's built in the parameter and can be modified only inside the block. Picture is to demonstrate what funcions has to be available same time. 

0 Likes
Accepted solutions (2)
1,429 Views
5 Replies
Replies (5)
Message 2 of 6

MMcCall402
Mentor
Mentor
Accepted solution

You could use a few User Parameters to make the array values within the block accessible from outside the block.  In the attached block I made 4 user parameters. (Rows, Columns, Row_Spacing and Column_Spacing)  I typed the name of these parameters into the properties of the array.  The User Parameters can be edited in the properties window of the block after its been placed in the drawing and it will alter the array within the block.

 

MMcCall402_0-1706287740393.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 3 of 6

MMcCall402
Mentor
Mentor
Accepted solution

Another way to get the row and column spacing into the block would be to add a couple construction lines with a couple linear constraints.  The names of these constraints can be entered as the values for the array spacings.  Moving the constraint's grip with change its value and that value will be passed on the the array within the block.

 

MMcCall402_0-1706288749613.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 4 of 6

Vlalo
Participant
Participant

Thank you for solutions, they works as inteded, I struggle to create those user parameters myself, how do you link it with array exactly? When I just create it from parameter manager, there is no link really.

0 Likes
Message 5 of 6

Vlalo
Participant
Participant

Okay, I found the trick, got it working. Image for others if wondering how.

Vlalo_0-1707292033314.png

 

0 Likes
Message 6 of 6

MMcCall402
Mentor
Mentor

Now you've got it!   Its hard to see how its been set up in a finished block as the value of the user parameter immediately takes the place of the parameter name after its entered into the cell for the array.

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes