jake77777 Posted October 21, 2010 Posted October 21, 2010 Is there a way to an extend a mline a specfied distance upon selection? Thanks for any help on this. Quote
jake77777 Posted October 21, 2010 Author Posted October 21, 2010 Thanks Lee. *Was hoping theres something quicker w/ easier selection than stretch or selecting ea. endpoint and specifying the 2" each time. *I use mlines so much for various beams/headers that most often they line up with a wall and difficult to stretch out. *I've seen a code that extends plines a spec'd distance on both sides..No better time to ask the expert, is that possible with mlines? Ive read a couple of your posts where you mention their troublesome to entget, etc. Thanks for any help...Btw is hyperpics.com your company? Quote
Lee Mac Posted October 21, 2010 Posted October 21, 2010 Thanks Lee. *Was hoping theres something quicker w/ easier selection than stretch or selecting ea. endpoint and specifying the 2" each time. *I use mlines so much for various beams/headers that most often they line up with a wall and difficult to stretch out. *I've seen a code that extends plines a spec'd distance on both sides..No better time to ask the expert, is that possible with mlines? Ive read a couple of your posts where you mention their troublesome to entget, etc. Thanks for any help...Btw is hyperpics.com your company? MLines are a lot more difficult to work with than Plines, as, for one they do not qualify as a CurveObject, hence all vlax-curve functions are out of the question. I would think something like an extend could be created, but the Stretch command does this, and a lot better than any extend command that I could write... PS> Hyperpics is not my company. Quote
jake77777 Posted October 21, 2010 Author Posted October 21, 2010 That cleared up a lot. In your opinion, you think using the change mline to pline lisp followed by the extend pline a spec'd distance lisp might be a decent route to follow? Quote
Lee Mac Posted October 21, 2010 Posted October 21, 2010 Why the aversion to stretch? Is the selection really that difficult? Quote
jake77777 Posted October 21, 2010 Author Posted October 21, 2010 We just upgraded to Autocad 2010 last week. I wouldn't consider the selection convenient..attached pic is a simple fnd that I'm currently working on. The boss wants to have all the (3) 2x10's extended over the wall as they would be in reality..this is done to every beam and header on every floor on all our plans. It just seems to add up over time. More than that, you had provided a lisp in the past to add a block to the endpoints of a mline which could be used to insert a point load block for the beams/headers to show studs at the end..but only possible if they're extended 2" over the wall..So, two reasons I would kill to have something easier than the current. Quote
Lee Mac Posted October 21, 2010 Posted October 21, 2010 At that point, you could either offset the wall by the extension and use the extend command, or you could use stretch with a crossing window over the endpoints of the mlines (shift-windowing to remove the unwanted objects if necessary). Quote
jake77777 Posted October 21, 2010 Author Posted October 21, 2010 I agree, the stretch wouldn't be a problem for the fnd wall example. I attached an example of a much more common situation we encounter on the floor plans where stretching the mline 2" is not much of an option. I should say, I definitely understand stretching individually is not the most complex & time consuming of methods. I failed to mention we're a structural engineering firm that basically just spec's out beams/hdrs and their loads and this would be used very often. There may be options with combining a few lisps (I think)..Kind of disappointing that you can't use the vlax code with mlines! I was stoked when I came across that pline lisp thinking it was possible Quote
Lee Mac Posted October 21, 2010 Posted October 21, 2010 You can use vlax-* functions, just not vlax-curve* functions. I'm not saying it can't be done, I'm just saying that for the time spent trying to concoct a routine, the functionality already exists. Quote
alanjt Posted October 21, 2010 Posted October 21, 2010 You can also grip move it with the extension osnap (one of the few I keep active). 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.