Stairs dynamic block

Stairs dynamic block

leticia.campanelli
Advocate Advocate
5,618 Views
6 Replies
Message 1 of 7

Stairs dynamic block

leticia.campanelli
Advocate
Advocate

Hi There,

 

I am trying to create a staircase block that would help us very much on the early design stages.

 

The idea would the to adjust the going length and array the steps. Which in my mind sounded very simple.

I did create the two dynamic parameters, when changing the going dim, the array doesn't follow it.

I have attached the block. at the moment I have 220mm going and it works fine. when changing it to 240mm it creates a messy drawing.

Can it be fixed? Can the array be linked with the going dim?

 

Thanks

0 Likes
5,619 Views
6 Replies
Replies (6)
Message 2 of 7

chadwickt
Advocate
Advocate

Good morning Leticia!

 

I think that the challenge is that the going value needs to be used for the array distance, and AutoCAD doesn't seem to allow a parameter value for that.

 

I took a different approach. I would assume that you would have a limited number of Going lengths. I created a visibility state for multiple lengths (220, 240, 260, 280). Then I arrayed each visibility state using the appropriate array distance.

 

The end result is that there is a drop-down list to choose the Going length, then you can use the array arrow.

 

Maybe someone has a more elegant solution, but hopefully this works for you.

0 Likes
Message 3 of 7

j.palmeL29YX
Mentor
Mentor

Test the attachment. 

 

 

 

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

mrajendra2150
Explorer
Explorer

Also test my block

0 Likes
Message 5 of 7

Crass
Collaborator
Collaborator

This is interesting. I'd love to know how you created this! I want to make something similar in imperial units where you could adjust the tread width (Going) in increments (inches) and where you could also adjust the width of the stairs which is currently set as 820 in your block as I would be using this for site/outdoor stairs that could be quite wide.

-----
AutoCAD 2018/2021
AutoCAD Civil 3D 2021
0 Likes
Message 6 of 7

j.palmeL29YX
Mentor
Mentor

@Crass wrote:

... and where you could also adjust the width of the stairs 


 

I don't know a solution how to free adjust the width of the stairs. Or to be more precise: AutoCAD doesn't allow to modify the source object of an array (Rectangular, Circular or Path array) inside of a block  - in your example the length of the line. That would be possible only with an Array Action - but here you can not calculate the needed values (number of items, distance of items, length over all) for the array.

The only what I can offer would be a block with a few (about a handful) discrete, fixed values for the width using different visibility states for each width. Are you interested in such a solution proposed?

 

 

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

Libbya
Mentor
Mentor

For a width adjustment you could split each run of stairs into two or more arrays (e.g. one for each side) and have them overlap for smaller widths.