lunbryd Posted April 13, 2020 Posted April 13, 2020 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 Quote
BIGAL Posted April 14, 2020 Posted April 14, 2020 (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 April 14, 2020 by BIGAL Quote
resullins Posted April 29, 2020 Posted April 29, 2020 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 Quote
resullins Posted April 29, 2020 Posted April 29, 2020 This is what it looks like in Block Editor. So I'm guessing your stretch frames aren't accurately grabbing your stuff. Quote
ammobake Posted May 6, 2020 Posted May 6, 2020 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 Quote
resullins Posted May 7, 2020 Posted May 7, 2020 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. Quote
Recommended Posts
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.