Jump to content

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


Wildblack

Recommended Posts

 

[ATTACH=CONFIG]29704[/ATTACH]

 

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.

 

http://www.cadtutor.net/forum/archive/index.php/t-32564.html?

 

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.

 

 

 

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