bogdancic26 Posted June 10, 2010 Posted June 10, 2010 Hi I have an old routine that inserts a block (tadpole) and align it to two points. What I want is to select top of slope and bottom of slope and enter at a certain distance (eg 10 m) that block scaled and aligned to the top of slope, which would command something like "measure" but I want to scale that blocks according to the distance between the two lines. My knowledge of LISP is not great - I can sometimes see what it's doing and might me able to cut and paste code from one file to another, but as of yet, can't write the code myself. Another problem is if one of polylines is shorter than the other (as in "test.dwg) block insertion end to end where the shortest. TADPOLE.DWGFetching info... tadpole.lspFetching info... test.dwgFetching info... Quote
bogdancic26 Posted June 10, 2010 Author Posted June 10, 2010 There is nobody here who can help me this problem? Quote
Tiger Posted June 10, 2010 Posted June 10, 2010 An hour and twenty is not long mate, give the folks some time to roll out of bed - not to mention the americans that have not even gotten to bed yet! I can give my 2 cents (which are Lisp-free) and suggest you look into the Scale command with the Reference option, perhaps that would help? Quote
bogdancic26 Posted June 10, 2010 Author Posted June 10, 2010 There is no problem i'll wait, just did not know if anyone looked at the problem I exposed. Thanks a lot. Quote
BIGAL Posted June 11, 2010 Posted June 11, 2010 If you had of searched the forum first you would have found the answer that auto aligns the tadpoles etc to two polylines works fantastic downloaded from here. So go searching try "batter" Quote
bogdancic26 Posted June 11, 2010 Author Posted June 11, 2010 I found two routines approaching what I wanted. http://www.cadtutor.net/forum/showthread.php?t=20483&highlight=batter+ticks&page=2 post # 18 Here the problem is that the batter ticks not always align the top of slope to bottom of slope according to the direction of polyline, as shown in the attachment. The second is http://www.cadtutor.net/forum/showthread.php?t=25747&highlight=batter+ticks. Here there is the possibility to choose which side I draw the batters ticks but if the bottom of slope and top of slope have different lengths crash and delete polylines.If someone can look and find the answer to any of them to work properly would be perfect and I would be obliged. Thanks in advance Quote
bogdancic26 Posted June 11, 2010 Author Posted June 11, 2010 I changed one of the two routines and now is exactly what I wanted, without having to depend on the meaning of polyline. Thanks to everyone who helped me. Slope_tadpole.lspFetching info... Quote
lgses1 Posted October 24, 2017 Posted October 24, 2017 bogdancic26 said: I changed one of the two routines and now is exactly what I wanted, without having to depend on the meaning of polyline.Thanks to everyone who helped me. sorry, lisp newbie here - trying to create some tadpoles without having to insert each one by hand as a block . Quote
shahAbdul Posted December 27, 2022 Posted December 27, 2022 hello bogdancic26, why i used slopetadpole.lsp but symbol position according to the line Quote
BIGAL Posted December 28, 2022 Posted December 28, 2022 (edited) Try this batterticks-1.lspFetching info... tick.dwgFetching info... Admin double posted Edited December 28, 2022 by BIGAL 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.