Jump to content

Draw a Polyline with Civil 3D Cogo Point to nearest point (without Point Number)

Recommended Posts





Hi, I am userwith Lisp, sorry for my bad english (i speak french)

I have a question with Cogo Point.


I want to draw a Polyline From 891 to 90898 or 90898 to 891 the constant is the nearest point i can snap on it.


I try to adapt a lisp code pol.lsp i found it there but i have 2 problem with this code.




1. Its use ACAD points and i Use Civil 3D Cogo Points.


2. It make the 3D polyline with the order of the insertion (ID) but i would like to make it from the nearest. Like my example image.


For my Example : I take 90898 and draw a 3d polyline to 90897 (Remove 90898 from the usable nearest point and check near point, draw to 908 (Remove 90897) and check near point, draw to 90895 (Remove 908).....


If someone know a exist code i can use. Or a way to adapt pol.lsp.


Thx alot, its will save me LOT of time.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now