Spline Dynamic Block with Arrowhead

Spline Dynamic Block with Arrowhead

BL_Apex
Enthusiast Enthusiast
4,355 Views
9 Replies
Message 1 of 10

Spline Dynamic Block with Arrowhead

BL_Apex
Enthusiast
Enthusiast

I am attempting to create a Dynamic Block for electrical home runs that behaves similarly to home runs in Revit. Essentially it is a Spline with (3) Control Vertices and an Arrowhead at opposite end from the Basepoint. I have created the Dynamic block to include the desired visible elements and I've gotten the Spline to behave correctly using Stretch Actions. The only problem I am having is that I can't get the Arrowhead to follow the end of the Spline correctly. I would like it to "bend around" with the Spline but it wants to stay at a fixed angle. If anyone can point me in the right direction (pun intended) or modify the attached example of my Dynamic Block, that would be appreciated.

 

Also, I am aware there is an Mleader Style that utilizes a Spline instead of a straight line. However, the Spline is based on Fit Points instead of Control Vertices and simply does not behave the way we need it to, thus the reason for the Dynamic Block.

0 Likes
Accepted solutions (1)
4,356 Views
9 Replies
Replies (9)
Message 2 of 10

j.palmeL29YX
Mentor
Mentor

Something like >>this<<

 

 

 

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.

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

BL_Apex
Enthusiast
Enthusiast

Hey, thanks for the response! That's headed in the right direction. I like that you got the arrow to change direction as you stretch the center grip around. Here is an example of the Revit Home Run. Basically each end can move and bend independently. That's what I'm trying to accomplish. 

0 Likes
Message 4 of 10

j.palmeL29YX
Mentor
Mentor
Accepted solution

@BL_Apex wrote:

Basically each end can move and bend independently. That's what I'm trying to accomplish. 


 

Try the next attempt.

 

 

 

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.

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 10

BL_Apex
Enthusiast
Enthusiast

Yes! This is exactly what I have been trying to do. I was trying all kinds of constraints and I knew it would take some sort of combination... but I'm just not familiar enough with the functionality of constraints to pull it off. Absolutely perfect. Thank you very much!

0 Likes
Message 6 of 10

j.palmeL29YX
Mentor
Mentor

An improved version (block "SplineArrrow") attached. 

(A small bug fixed and arrow's length and angle adjustable [via properties window]). 

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

MichaelD061
Contributor
Contributor

This is great!

Would you mind explaining a bit of the process? I am looking to integrate into an existing block if possible.

0 Likes
Message 8 of 10

j.palmeL29YX
Mentor
Mentor

The following video shoes not exactly what I did "decades" ago, but uses the same principle. 

 

(view in My Videos)

 

BTW: You can avoid the trouble with the unwanted additional vertices if you begin with a CSV-(3 point)spline instead of the fitted spline as I did in the video. 

 

 

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

j.palmeL29YX
Mentor
Mentor

@MichaelD061 

 

Have you been able to successfully "integrate into an existing block" in the meantime? 

 

 

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

Nathan_Pham9QPG6
Explorer
Explorer

Hi JP, Old Post, BUT
THANKS A TONS! This is Brilliant!

0 Likes