Combining Stretch and Array

Combining Stretch and Array

Sujan.Maharjan
Collaborator Collaborator
2,507 Views
15 Replies
Message 1 of 16

Combining Stretch and Array

Sujan.Maharjan
Collaborator
Collaborator

Hello I'm new to dynamic block. I was wondering if i could make the block that i attatched here limited to 1500 length. And if i stretch more new duct piece automatically starts. 

If it's not possible what other ways i could achieve that


"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Accepted solutions (2)
2,508 Views
15 Replies
Replies (15)
Message 2 of 16

ahmed.abdelmotey
Advocate
Advocate

TRY this one

 

first your stretch is limited to 1500 .. and after that you can array the duct

if you reduce the length after the array you will need to move array grip a little bit to make hatch associative again

 

 

Hope this solves your problems

Ahmed Abd-Elmotey
Landscape Architect & beginner lisp programmer
0 Likes
Message 3 of 16

Sujan.Maharjan
Collaborator
Collaborator
If i reduce length. All the arrayed item's length decreases as well
And I mean Hatch to be appear as one not broken

"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 4 of 16

Libbya
Mentor
Mentor
Accepted solution

Here's a step by step screencast.

Message 5 of 16

Libbya
Mentor
Mentor
Accepted solution

I made the lookup for 5 blocks.  If you want more than that, just make the appropriate visibility states and adjust the lookup row values.  There's a thread that has the screencast on how to make a double lookup.  BACTIONBARMODE=0 to show both tables.  If you want a single hatch object, don't copy it to the new objects and don't stretch the first hatch with the point parameter stretch action.

0 Likes
Message 6 of 16

Sujan.Maharjan
Collaborator
Collaborator

Thank you so much for your time Libbya 🙂 

And that is very complicated thing for me as i'm new to Dynamic block. But i'll give time for it 
Will i have any problem if i change duct width?
I need to rotate that too without changing hatch rotation angle. will i have any problem in that?


"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 7 of 16

Libbya
Mentor
Mentor

You should be able to stretch all the blocks without issue.  I'd use 1 parameter with 1 stretch action to stretch all of them at the same time.  Rotating everything should work.  Let me know if you have issues.

 

Message 8 of 16

Libbya
Mentor
Mentor

Actually, a rotate won't work due to the positionX values.  It will work if you replace the point parameter with a linear one and use the appropriate values.  

Message 9 of 16

Sujan.Maharjan
Collaborator
Collaborator
Thanks for your support. Its to complicated for me to understand.
Will You please attach the one you created . Saving the file so in autocad 11 version?

"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 10 of 16

Libbya
Mentor
Mentor

I didn't actually save the file after making the screencast (I usually don't) and having made the screencast, I'm not going to take the time to do it again.  You can make it full screen and pause often.  Let me know if there is a particular part where you need more explanation.

Message 11 of 16

Sujan.Maharjan
Collaborator
Collaborator
I'm new to lookup. I need a continuos hatch . And I need to rotate to block without changing hatch angle. and change the wide of the block too.

"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 12 of 16

Libbya
Mentor
Mentor

Here's another screencast.  It shows the linear parameter (distance2) version which will work with a rotate.  It also shows the vertical stretch.

 

The double lookup functions with the input table determining the row and the output table adjusting its parameter values to match that row.

 

 

0 Likes
Message 13 of 16

Sujan.Maharjan
Collaborator
Collaborator
Hello ,
Where is Screen Cast?

"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 14 of 16

Libbya
Mentor
Mentor

Oops.  I guess I must not have hit the 'insert' button...

 

 

Message 15 of 16

Sujan.Maharjan
Collaborator
Collaborator
Hi
Can't i have all the dimension text movable?
And It is possible to make it stretchable on both side right?

"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 16 of 16

ilmaPKMYJ
Observer
Observer

Hi, I have a similar problem. Could you please solve the issue again and share your screencast?

0 Likes