chapa1 Posted November 7, 2009 Posted November 7, 2009 Hello guys, I have a series of parallel lines and need to turn them into points all at the same time (more than 1000 lines each file so I can't do it one by one). I already used a lisp and calculated the total lenght of them all, but when I try to divide, it only allow me to divide one line at a time =//// I also tried to make them into a block and divide the block, but I recieve an error msg. I don't know where I'm messing up I am not the kind of guy who asks question without doing some research, but I can't find anything about this case on google. Anyone got some tips for me? Thx in advance. Quote
chapa1 Posted November 7, 2009 Author Posted November 7, 2009 Sorry, to make it more clear I need to divide them in points of 5m distance each. So I calculated the number of divisions to be made by total lenght. There's also the measure command that I recently learned, but I can't use it on all lines at the same time too. Quote
chapa1 Posted November 7, 2009 Author Posted November 7, 2009 Hello guys, I have a series of parallel lines and need to turn them into points all at the same time (more than 1000 lines each file so I can't do it one by one). I already used a lisp and calculated the total lenght of them all, but when I try to divide, it only allow me to divide one line at a time =//// I also tried to make them into a block and divide the block, but I recieve an error msg. To make it more clear I need to divide them in points of 5m distance each. So I calculated the number of divisions to be made by total lenght. There's also the measure command that I recently learned, but I can't use it on all lines at the same time too. I am not the kind of guy who asks question without doing some research, but I can't find anything about this case on google. Anyone got some tips for me? Thx in advance. Quote
alanjt Posted November 7, 2009 Posted November 7, 2009 You should search the forums.:wink: I knew I had just helped out with something almost identical to this. http://www.cadtutor.net/forum/showthread.php?t=41213&highlight=divide Ron and I both posted one here, I'd only suggest mine because I added undo marks, other than that, we wrote the same thing. The only thing you'll need to change is the number sent to divide. Not hard, just add a statement like (setq Num (getint "\nDivide number: ")) then replace the 10 with Num. If you need any further help, just ask, and DON'T post multiple threads in different sections. Your questions will be viewed by everyone; no need to clog up the CT network with the same question. Good luck. Quote
chapa1 Posted November 7, 2009 Author Posted November 7, 2009 Thx alanjt, I'll check that out! Sorry for double post, I regreted posting it on Beginners and didn't know how to delete it. Getting used to the forum. While I was searching, the tags for this problems resulted in lots and lots of pages with diffrent questions =(( Thx again Quote
alanjt Posted November 7, 2009 Posted November 7, 2009 Thx alanjt, I'll check that out! Sorry for double post, I regreted posting it on Beginners and didn't know how to delete it. Getting used to the forum.While I was searching, the tags for this problems resulted in lots and lots of pages with diffrent questions =(( Thx again No problem. Give a shout if you need help. Quote
chapa1 Posted November 8, 2009 Author Posted November 8, 2009 Alanjt I finally got it!!! Your code reallly helped a lot!! I had lines with diffrent lenghts, so I changed the divide for measure, and adjusted the intervals as I needed, and worked like a gem! Thx a lot fella!!! :D Quote
alanjt Posted November 9, 2009 Posted November 9, 2009 Alanjt I finally got it!!! Your code reallly helped a lot!! I had lines with diffrent lenghts, so I changed the divide for measure, and adjusted the intervals as I needed, and worked like a gem!Thx a lot fella!!! :D Glad you got it sorted out. 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.