Lee Mac Posted August 4, 2009 Posted August 4, 2009 Should be able get a pint of good ale. Just about... Quote
CAB Posted August 5, 2009 Posted August 5, 2009 Here is my twist on the grvecs. LineSpacer2 CAB.lsp Quote
Lee Mac Posted August 5, 2009 Posted August 5, 2009 Nice idea Alan, doing the transformation matrix "manually". :wink: Should be interesting to see if this approach works any better for Mike. btw, just out of interest - did my original code work OK for you? Lee Quote
MikeP Posted August 5, 2009 Author Posted August 5, 2009 neither codes work in 2009 But in 2006 it works fine. but in CABs, the circle is in the correct spot. its just not snapping to anythign WTF? Do I not have a setting on or something? Quote
CAB Posted August 5, 2009 Posted August 5, 2009 Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off ;; <<------------ Adjustments ------------>> ;; ;; ;; edg 0.0 ;1.125 ;; Vertical Offset ;; len 2.25 ;; Line Length ;; off 0.0 ;0.875 ;; Horizontal Offset ;; ;; ;; ;; <<--------------------------------------->> ;; I haven't read the entire thread so I don't know what they are for? Quote
MikeP Posted August 5, 2009 Author Posted August 5, 2009 Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off ;; <<------------ Adjustments ------------>> ;; ;; ;; edg 0.0 ;1.125 ;; Vertical Offset ;; len 2.25 ;; Line Length ;; off 0.0 ;0.875 ;; Horizontal Offset ;; ;; ;; ;; <<--------------------------------------->> ;; I haven't read the entire thread so I don't know what they are for? Those offsets are the 2 most important ones. Sry. I dont care if its not as pretty, Can it be made so it used CAD's snaps and not artificial ones? Quote
CAB Posted August 5, 2009 Posted August 5, 2009 Try this one attached. I added some msg to display at the command line telling what points were picked & snaped to. A point will be added to the DWG at the Snap point. Change your PDMODE & PDSIZE as needed to see it. Also reset your gaps. LineSpacer2 CAB.lsp Quote
MikeP Posted August 5, 2009 Author Posted August 5, 2009 Try this one attached. I added some msg to display at the command line telling what points were picked & snaped to. A point will be added to the DWG at the Snap point. Change your PDMODE & PDSIZE as needed to see it.Also reset your gaps. sorry man, still no good (100.854 136.417 0.0) = actual pick point. (100.854 136.417 0.0) = Snap point. they should be different, no? Quote
CAB Posted August 5, 2009 Posted August 5, 2009 There should be! From the command line, what does this return? (osLst (getvar "OSMODE")) Quote
MikeP Posted August 5, 2009 Author Posted August 5, 2009 There should be! From the command line, what does this return? (osLst (getvar "OSMODE")) I get "" Quote
CAB Posted August 5, 2009 Posted August 5, 2009 Did you press F3 to turn OSmode ON BEFORE you ran the lisp? What is you usual osnap setting? OSMODE at the command line. Quote
Lee Mac Posted August 5, 2009 Posted August 5, 2009 Thanks for your patience with this one Alan, I can see this isn't a 2 minute fix. I would love to know what is causing it... Quote
Lee Mac Posted August 5, 2009 Posted August 5, 2009 Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off ;; <<------------ Adjustments ------------>> ;; ;; ;; edg 0.0 ;1.125 ;; Vertical Offset ;; len 2.25 ;; Line Length ;; off 0.0 ;0.875 ;; Horizontal Offset ;; ;; ;; ;; <<--------------------------------------->> ;; I haven't read the entire thread so I don't know what they are for? Alan, The adjustments at the top of the program determine the dimensions of the displayed lines, as portrayed by the original drawing Mike posted. Quote
CAB Posted August 5, 2009 Posted August 5, 2009 No problem, got me curious too. I returned the offsets to your settings in the latest version. Never looked at the DWG. Latest, added + - key adjustments to the number of lines. I'm going to adapt this to one of my in-house routines. LineSpacer3 CAB.lsp Quote
Lee Mac Posted August 5, 2009 Posted August 5, 2009 Latest, added + - key adjustments to the number of lines. I'm going to adapt this to one of my in-house routines. Thanks CAB, I feel honoured I read the comments on the routine... (osMark osPt) in the clicked point... why: copy/paste/haste. Quote
Lee Mac Posted August 5, 2009 Posted August 5, 2009 Alan, I have updated the routine to include the option to type the number of lines that you want manually. Also, I have allowed for the "=" key when altering number of lines. LSpace.lsp Quote
CAB Posted August 6, 2009 Posted August 6, 2009 Thanks, This is going to be a handy helper routine. I'll need to make one with fixed intervals later. Haven't figured out how to manage the remainder space yet. Option to leave all on one end. Or split the remainder. Or user offset to first item then remainder on other end. Keeps me intertained. 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.