Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Points at Crossing Polylines

15 REPLIES 15
SOLVED
Reply
Message 1 of 16
estringer
1156 Views, 15 Replies

Creating Points at Crossing Polylines

estringer
Advocate
Advocate

I was wondering if there is a way to create points at crossing polylines? Preferably I would want to be able to specify 2 polyline layers and get points at any intersections of polylines on those layers.

0 Likes

Creating Points at Crossing Polylines

I was wondering if there is a way to create points at crossing polylines? Preferably I would want to be able to specify 2 polyline layers and get points at any intersections of polylines on those layers.

15 REPLIES 15
Message 2 of 16
VincentSheehan
in reply to: estringer

VincentSheehan
Collaborator
Collaborator

Could this help? Create a block with a point then use this Lisp to place the block at crossing lines.

 

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

Could this help? Create a block with a point then use this Lisp to place the block at crossing lines.

 

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

Message 3 of 16
leeminardi
in reply to: estringer

leeminardi
Mentor
Mentor
Accepted solution

One of Lee-Mac's intersection programs may be your answer.

https://www.lee-mac.com/intersectionfunctions.html

 

lee.minardi

One of Lee-Mac's intersection programs may be your answer.

https://www.lee-mac.com/intersectionfunctions.html

 

lee.minardi
Message 4 of 16
estringer
in reply to: VincentSheehan

estringer
Advocate
Advocate

Do you know if putting the point in a block will change how it is "seen" in the drawing? We are using the points for programming a Total Station and I am trying to see if there are more efficient ways to place the points.

0 Likes

Do you know if putting the point in a block will change how it is "seen" in the drawing? We are using the points for programming a Total Station and I am trying to see if there are more efficient ways to place the points.

Message 5 of 16

autoid374ceb4990
Advocate
Advocate

Are you doing the programming?

If you are depending on 3rd party software and the software is capable of reading the insertion point of blocks, then create a block with one POINT and make the POINT coordinates the insert point.

0 Likes

Are you doing the programming?

If you are depending on 3rd party software and the software is capable of reading the insertion point of blocks, then create a block with one POINT and make the POINT coordinates the insert point.

Message 6 of 16
VincentSheehan
in reply to: estringer

VincentSheehan
Collaborator
Collaborator

You could explode the blocks afterwards.

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

You could explode the blocks afterwards.

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

Message 7 of 16
estringer
in reply to: leeminardi

estringer
Advocate
Advocate

I do not have any experience with Lisp routines so am a little confused on how Lee's work. Am I supposed to combine the two different sets of code into one file or am I supposed to create and load both?

estringer_0-1718380458588.png

 

0 Likes

I do not have any experience with Lisp routines so am a little confused on how Lee's work. Am I supposed to combine the two different sets of code into one file or am I supposed to create and load both?

estringer_0-1718380458588.png

 

Message 8 of 16
Kent1Cooper
in reply to: estringer

Kent1Cooper
Consultant
Consultant

You can combine them into one file, APPLOAD that file, and use the INTERSET command that's defined in the second one.  [You don't use the function defined in the first one directly -- it is called on by the second one.]

Kent Cooper, AIA
0 Likes

You can combine them into one file, APPLOAD that file, and use the INTERSET command that's defined in the second one.  [You don't use the function defined in the first one directly -- it is called on by the second one.]

Kent Cooper, AIA
Message 9 of 16
estringer
in reply to: Kent1Cooper

estringer
Advocate
Advocate

I have tried combining them in the same file, once with the called function first and once with the called function last and get the same error on both. See below:

estringer_0-1718385502910.png

 

0 Likes

I have tried combining them in the same file, once with the called function first and once with the called function last and get the same error on both. See below:

estringer_0-1718385502910.png

 

Message 10 of 16
leeminardi
in reply to: estringer

leeminardi
Mentor
Mentor

Extract the .lsp file from the attached.  Load the program with APPLOAD then give the inter command.

 

 

leeminardi_0-1718385719089.png

 

lee.minardi

Extract the .lsp file from the attached.  Load the program with APPLOAD then give the inter command.

 

 

leeminardi_0-1718385719089.png

 

lee.minardi
Message 11 of 16
estringer
in reply to: leeminardi

estringer
Advocate
Advocate

Thank you! That worked perfectly!

0 Likes

Thank you! That worked perfectly!

Message 12 of 16
estringer
in reply to: estringer

estringer
Advocate
Advocate

Thank you for everyones help!

0 Likes

Thank you for everyones help!

Message 13 of 16
Kent1Cooper
in reply to: estringer

Kent1Cooper
Consultant
Consultant

@estringer wrote:

...:

estringer_0-1718385502910.png


Whoops -- I hadn't noticed that the called routine itself calls for another.  You will also need to get that function from higher on the same web page.  You can also add it into the one file, or all three can be in separate files if you make sure all get loaded.

Kent Cooper, AIA
0 Likes


@estringer wrote:

...:

estringer_0-1718385502910.png


Whoops -- I hadn't noticed that the called routine itself calls for another.  You will also need to get that function from higher on the same web page.  You can also add it into the one file, or all three can be in separate files if you make sure all get loaded.

Kent Cooper, AIA
Message 14 of 16
estringer
in reply to: Kent1Cooper

estringer
Advocate
Advocate

This one?

estringer_0-1718390719990.png

 

0 Likes

This one?

estringer_0-1718390719990.png

 

Message 15 of 16
Kent1Cooper
in reply to: estringer

Kent1Cooper
Consultant
Consultant

Yes.

Kent Cooper, AIA

Yes.

Kent Cooper, AIA
Message 16 of 16
estringer
in reply to: Kent1Cooper

estringer
Advocate
Advocate

Thank you.

0 Likes

Thank you.

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