jake77777 Posted February 16, 2012 Posted February 16, 2012 We use mlines quite frequently in our office showing beam/headers. Nearly all will extend to the nearest intersection. I know mlines can be difficult to work with..how hard would it be to have mlines extend to the nearest intersection after being drawn? Thank you for any help! Quote
Lee Mac Posted February 17, 2012 Posted February 17, 2012 Finding the intersections - easy. Extending the Mline - quite difficult I should imagine. Finding the nearest intersections would certainly be possible since an VLA MLine Object has the IntersectWith method, so this could be achieved simply by finding the intersections between the MLine and all objects in the surrounding area (with the Extend flag set to extend the MLine), then sorting these intersections by distance from the MLine. Extending would be far more difficult, since, although the coordinates of the endpoints of the MLine could be altered to lie at the intersections, the elements that make up the MLine Style would not be trimmed to meet the object as per the Extend Command. Quote
jake77777 Posted February 21, 2012 Author Posted February 21, 2012 Thank you so much for the reply Leemac. I can stick with current. Thanks again! 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.