Using a variable dimension for array function

Using a variable dimension for array function

degrooth11
Observer Observer
3,050 Views
9 Replies
Message 1 of 10

Using a variable dimension for array function

degrooth11
Observer
Observer

Good afternoon,

 

I have created a dynamic "parking" block. I have a linear parameter stretching from the bottom left of the first parking strip to the bottom right of the second parking strip. I have a second linear parameter at the top. The parameter on top allows me to adjust the distance between the 2 parking strips as needed (adjusting the width of the spot). The parameter on the bottom, has a single grip on the right side that allows the user to array an unlimited number of additional parking spots to the right. This was easy enough when I just had the parking spot as a standard size, the array was set to the number and the problem was solved. However, I would like to know how to have the array parameter look at the dimension used for the top parameter (width of the parking spot) and apply that dimension when utilizing the array parameter.

 

On another note - I am brand new to Dynamic Blocks in general. Any resources you can provide to help me learn more would be greatly appreciated.

 

Thank you.

0 Likes
3,051 Views
9 Replies
Replies (9)
Message 2 of 10

Libbya
Mentor
Mentor

The array action does not allow any way to dynamically vary the column offset.  There are a few workarounds that can allow similar functionality.  One way for a limited number of offsets would be to use visibility states.  The actual ARRAY command can be used as well with various ways to input the column offset into the array.  See screencast.

 

 

Message 3 of 10

timothy_crouse
Collaborator
Collaborator

Here is an example of an array using a variable offset.  It may help you in customizing your current block set.

 

-Tim

0 Likes
Message 4 of 10

Libbya
Mentor
Mentor

The way I show in the screencast is an easier and considerably less complicated way to create a dynamic column offset than what you show in your block.  

0 Likes
Message 5 of 10

timothy_crouse
Collaborator
Collaborator

Do either of you have a fined block using the technique in the screen cast you could share?

 

Thanks

Tim

0 Likes
Message 6 of 10

Libbya
Mentor
Mentor

The techniques shown in the screencast are relatively simple to implement.  I don't have any finished blocks available that use those techniques, but it would be fairly easy for you to watch the screencast and make your own.  Is there something in particular you had questions about?

0 Likes
Message 7 of 10

timothy_crouse
Collaborator
Collaborator

No quest in particular, easier for me to view a block than screen cast is all.

 

Thanks

 

0 Likes
Message 8 of 10

Libbya
Mentor
Mentor

Screencasts are better than posting blocks for relating information and for the recipient to learn that information.  The screencast I posted shows several different techniques for implementing or controlling the variable offset array.  After I demonstrate one technique I delete/edit items in order to demonstrate another technique, etc...  I would need to post several blocks in order to relate the same amount of information.  Moreover, a finished block does not actually relate HOW to do a specific technique.  Often steps in the procedure are quite difficult to understand without the step-by-step.  Also, posting a finished block is generally counter-productive to learning.  The recipient will simply use the finished block rather than learning how to make it.  They will then often return another day for another finished block that they could have made for themselves if they had learned how to make it rather than having been given a finished block.  

Message 9 of 10

ndikesh
Contributor
Contributor

Hi @Libbya , 

The technique you've used is very simple and easy to prepare. I'm trying to tweak a couple of things but not able to get exact result I want. Can you please have a look and advice me how to get it right.

 

Its 80% what you've shared on screencast, I simply need to add dimensions of the distances between two lines and add the end line if it's between the array.

Thanks in advance 🙂 

Message 10 of 10

ndikesh
Contributor
Contributor

Can anyone help me with the above issue. I'd love to have some ideas.

0 Likes