Jump to content

how to use the some command like "lengthen" in multiple objects by window select


miaudele

Recommended Posts

as title

if I need to select one by one,it will be too slow....

Should this function be accompolished by LISP?

But I am not familiar with LISP....

anyone could give me advice?

THX~

 

Thank you for the advice!

the situation is that I have many irregular lines distributed in disorder,

and what I want to do is just lengthen these lines "3.5" Meters from the start point of each line.

If I can do this way , then I can join the line to some points correctly in Arcmap.

 

anyone have good idea? THX

Edited by miaudele
Link to comment
Share on other sites

Welcome to CADTutor!

 

I understand that you're not wanting to select each line, one-at-a-time, however, while LISP can do this specific criteria is necessary.

 

For example, which side of an object (Line, Pline, Arc?) should be lengthened... the start point, the end point, from center?

 

Which object are you wanting to select... primary entities, nested entities?

 

Not sure of the configuration of the entities, will the EXTEND command not work?

 

More information is needed to code beyond this:

 

(defun c:MLEN ()
 (command "._lengthen" "total")
 (princ))

Link to comment
Share on other sites

Can you show an example of what you want to do. STRETCH, EXTEND, CHANGE or LENGTHEN (with the Fence option) may do what you're looking for.

Link to comment
Share on other sites

Thank you for the advice above!

the situation is that I have many irregular lines distributed in disorder,

and what I want to do is just lengthen these lines "3.5" Meters from the start point of each line.

If I can do this way , then I can join the line to some points correctly in Arcmap.

 

anyone have good idea? THX

Link to comment
Share on other sites

Are you wanting to extend both ends of the line or just one and if so is it always the start or the end of the line that needs to be extended?

Link to comment
Share on other sites

Thank you for the advice above!

the situation is that I have many irregular lines distributed in disorder,

and what I want to do is just lengthen these lines "3.5" Meters from the start point of each line.

If I can do this way , then I can join the line to some points correctly in Arcmap.

 

anyone have good idea? THX

 

I love it when people try to use two competitive softwares.

Myself I would do that in Arcmap with a buffer of the points and then an overlay analysis unless of course you have AutoCAD MAP3D then I would do the same thing in that.

Can you post a screen shot of the dwg or part of it?

Link to comment
Share on other sites

I love it when people try to use two competitive softwares.

Myself I would do that in Arcmap with a buffer of the points and then an overlay analysis unless of course you have AutoCAD MAP3D then I would do the same thing in that.

Can you post a screen shot of the dwg or part of it?

as you can see , buffer or snap can't work, because Arcmap get the correct closest relationship , unless I extend the line a specified length

mysample.jpg

Link to comment
Share on other sites

I see, the points are to close to another line for the buffer to work. I ran into this same thing years ago and eith a lisp to fix it or maunally doing each one was the only solution.

Link to comment
Share on other sites

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