symoin Posted January 24, 2017 Posted January 24, 2017 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 Quote
BIGAL Posted January 25, 2017 Posted January 25, 2017 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. Quote
symoin Posted January 30, 2017 Author Posted January 30, 2017 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... Quote
BIGAL Posted January 31, 2017 Posted January 31, 2017 Look at this for blocks on plines. http://www.cadtutor.net/forum/showthread.php?99656-block-polyline-existing-code-edit Quote
symoin Posted January 31, 2017 Author Posted January 31, 2017 Look at this for blocks on plines. http://www.cadtutor.net/forum/showthread.php?99656-block-polyline-existing-code-edit Thanks for the suggestion, Here the codes uses the distance to inserts the block from the end of the polylines and not from one block to another. Appericiate your help. Quote
Recommended Posts
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.