Jump to content

Recommended Posts

Posted

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.

HOME-RUN.dwg

Posted (edited)

There was a dynamic arrow as part of a block post, I think it was Lee-mac that provided the final code. I am sure he will post if not his code.

 

I do not have the authors name in this code.

 

 

Block with dyn arrow.lsp Block dyn arrow.dwg

Edited by BIGAL
  • 3 weeks later...
Posted

I created something similar recently... you can take a look. I would try to figure yours out, but when I open the file and run TEST BLOCK, the stretch points are not even close to the actual geometry, and when I try to insert it, it gives me an error that it references itself. So you may have a problem there. 

 

_PM LEADER.dwg

Posted

This is what it looks like in Block Editor. So I'm guessing your stretch frames aren't accurately grabbing your stuff. 

 

 

image.thumb.png.8cae77fc2c137612176a70f784252e25.png

Posted

Most of my home runs have to include a trio of lines perpendicular to the home run which denotes concealed conduit.

 

Do any of these solutions have an option for that additional symbology?

 

ChriS

Posted
13 hours ago, ammobake said:

Most of my home runs have to include a trio of lines perpendicular to the home run which denotes concealed conduit.

 

Do any of these solutions have an option for that additional symbology?

 

ChriS

 

Yeah, the dynamic actions will operate as many objects simultaneously as you like if you set them up right. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...