Jump to content

Help me using divide with lots of lines


Recommended Posts

Posted

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 :geek:

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. :glare:

Anyone got some tips for me? Thx in advance. :shock:

Posted

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.

Posted

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. :glare:

Anyone got some tips for me? Thx in advance. :shock:

Posted

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. :)

Posted

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 :D

Posted
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 :D

 

 

No problem.

Give a shout if you need help.

Posted

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:D

Posted
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:D

Glad you got it sorted out. :)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...