Jump to content

Lisp to insert blocks and draw a table for the polyline vertex


Recommended Posts

Posted

Hi,

I am looking for a lisp to insert blocks and to draw a table based on bends/vertex and at equal intervals of a polyline.

If I have a line and i need to insert a block "st" at equal intervals of 5om and name the block as st-01, st-02 etc..

st-00 being the start point and I need to insert onther block "bend" at each vertex of the line. and name it as bend-01 and so on.

 

next i need to draw a table like profile, I have to offset a line at every 50m and

if there are any bends that has to come along and divide the 50m according to the location of the bends.

 

ATTACHING THE FILE FOR REFERENCE.

need this.dwg

Posted

Ok the answer is yes, there is a number of lisps out there and what you require means joiningg say 3 together.

 

1 Search for chainage.lsp there are a number of these and they ask for an interval else read up on vl-getpointatdist which works out a pt along a pline for a given chainage, then insert block. the increasing station is the easy bit.

 

2 Search for pline co-ords again lots of examples this will give you the vertice points

 

3 Add the vertice points to the insert pts then sort and draw your table. What about curves etc.

 

We use setout pts so do it differently with the road design software producing what we want. need some time as a bit busy at moment some else may all ready have ch labeller.

Posted

Thanks BIGAL,

 

I have been trying by the methods. I am still looking for a possible way to doing this by one or more codes...

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