Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help with finding overlapping lines and selecting them

5 REPLIES 5
Reply
Message 1 of 6
rahul_jainMY6RE
449 Views, 5 Replies

Need help with finding overlapping lines and selecting them

rahul_jainMY6RE_0-1716206525996.png

can someone help in slecting the lines below my polyline. Basically, i have 1 polyline drawn exactly over several normal lines. now what do i want is that i select that polyline and with the help of lisp or command the lines which are directly below it gets selected. and my original polyline gets deleted. can anyone please help regarding this issue.

Labels (3)
5 REPLIES 5
Message 2 of 6
pendean
in reply to: rahul_jainMY6RE
Message 3 of 6

I think we need better images.  Is the Polyline in question on the left the sort-of wide-question-mark [without bottom dot] shape in red?  If I'm guessing correctly about that:  Nothing shows as selected on the right.  Would the selected objects include the red top edge there?  It's confusing that the Polyline basis is the same color as one thing on the right that [I'm guessing] should be selected under it and also the same color as one thing that should not be selected.  But the obvious approach [using the Polyline's vertices for a Fence selection] would select that other red thing, since that touches the Polyline path.  But if it only touches it, do I assume correctly that it should not be selected, nor anything else that crosses it but does not lie along it?

 

Can you make new images, in which the Polyline in question is a different color from everything else, and in which the selected objects under it are shown as selected/highlighted/gripped, so we can see which they are?

Kent Cooper, AIA
Message 4 of 6

Sure Kent, 

 

rahul_jainMY6RE_0-1716262330296.png

 

This is my initial drawing in which i need the shortest distance between 2 points and the path that it traverses

Now i used Spath for that and while it was more helpful than most. it drew a red polyline (as shown in pic below) from P1 to P2 which gave me distance.

 

rahul_jainMY6RE_1-1716262444672.png

 

Now what i want that instead of polyline the path that i have drawn (the path that is below the polyline and exactly coincides with it) get selected because in that i have given separate names to the lines and i need that data. 

 

So can u cook something up for this

 

 

Message 5 of 6
rahul_jainMY6RE
in reply to: pendean

yeah i tried but i illustrated more about my problem in further comments if u see.  the issue with selection cycling is that it only works on 2 objects.

Message 6 of 6

If Anyone can help with this i'll really appreciate it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report