Jump to content

Recommended Posts

Posted

Hello everybody,

I have a routine that can put a block on every vertice of a polyline. Can anybody help me with a routine to put an order number to every vertice? And to put the lenght from the start point of polyline to the vertices? Thanks!

Posted
Hello everybody,

I have a routine that can put a block on every vertice of a polyline. Can anybody help me with a routine to put an order number to every vertice? And to put the lenght from the start point of polyline to the vertices? Thanks!

 

 

This is exactly what you need, made by Mel Franks

 

 

http://discussion.autodesk.com/forums/thread.jspa?messageID=6249650&

MelFranks

Give the attached a try.

It assumes that you have a block named "VERTEX" in the drawing containing an attribute with a tag value of "VERTEX-POSITION".

(both can be changed in the code if you want.)

You can also change the precision of the distance value at (rtos dist 2 2), change the last 2 to whatever precision you want.

Regards,

Mel

vtxblk.zip (847 bytes)

vtxblk.zip

VTXBLK.jpg

  • 6 years later...

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