CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoCAD General

Reply
 
Thread Tools
Old 7th Nov 2009, 05:44 pm   #1
chapa1
Forum Newbie
 
Using: AutoCAD 2008
 
Join Date: Nov 2009
Posts: 5
Question Help me using divide with lots of lines

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.
chapa1 is offline   Reply With Quote
Old 7th Nov 2009, 05:49 pm   #2
chapa1
Forum Newbie
 
Using: AutoCAD 2008
 
Join Date: Nov 2009
Posts: 5
Default

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.
chapa1 is offline   Reply With Quote
Old 7th Nov 2009, 06:00 pm   #3
chapa1
Forum Newbie
 
Using: AutoCAD 2008
 
Join Date: Nov 2009
Posts: 5
Question Help me using divide with lots of lines

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.
chapa1 is offline   Reply With Quote
Old 7th Nov 2009, 06:37 pm   #4
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

You should search the forums.

I knew I had just helped out with something almost identical to this. http://www.cadtutor.net/forum/showth...ghlight=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.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 7th Nov 2009, 07:10 pm   #5
chapa1
Forum Newbie
 
Using: AutoCAD 2008
 
Join Date: Nov 2009
Posts: 5
Default

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
chapa1 is offline   Reply With Quote
Old 7th Nov 2009, 07:21 pm   #6
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by chapa1 View Post
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.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 9th Nov 2009, 12:28 am   #7
chapa1
Forum Newbie
 
Using: AutoCAD 2008
 
Join Date: Nov 2009
Posts: 5
Default

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!!!
chapa1 is offline   Reply With Quote
Old 9th Nov 2009, 02:28 am   #8
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by chapa1 View Post
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!!!
Glad you got it sorted out.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a surface from lots of points for 3D mapping sinanp Rhino 5 13th Feb 2009 12:06 pm
New with lots of questions.. ricracer16 Hardware & Operating Systems 14 18th Jan 2009 05:15 pm
What's the best way to divide 1 line into 2 lines Almaz AutoCAD Beginners' Area 12 17th Sep 2007 10:37 pm
lots of visitors Lazer Autodesk Inventor 11 23rd Jul 2007 01:09 am
to divide lines,arc or circle karagozm AutoCAD Drawing Management & Output 7 2nd Feb 2007 12:40 pm

Why Donate?


All times are GMT +1. The time now is 03:47 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence