+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Forum Newbie
    Using
    AutoCAD 2008
    Join Date
    Nov 2009
    Posts
    5

    Question Help me using divide with lots of lines

    Registered forum members do not see this ad.

    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,000

    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.
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  5. #5
    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

  6. #6
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,000

    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.
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  7. #7
    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!!!

  8. #8
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,000

    Default

    Registered forum members do not see this ad.

    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.
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

Similar Threads

  1. Replies: 5
    Last Post: 13th Feb 2009, 12:06 pm
  2. New with lots of questions..
    By ricracer16 in forum Hardware & Operating Systems
    Replies: 14
    Last Post: 18th Jan 2009, 05:15 pm
  3. What's the best way to divide 1 line into 2 lines
    By Almaz in forum AutoCAD Beginners' Area
    Replies: 12
    Last Post: 17th Sep 2007, 10:37 pm
  4. lots of visitors
    By Lazer in forum Autodesk Inventor
    Replies: 11
    Last Post: 23rd Jul 2007, 01:09 am
  5. to divide lines,arc or circle
    By karagozm in forum AutoCAD Drawing Management & Output
    Replies: 7
    Last Post: 2nd Feb 2007, 12:40 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts