gilsoto13 Posted August 23, 2009 Posted August 23, 2009 This is just to share this leader routine again, modified by me to accomplish insertion block just after picking the 3 points for the leader or the 2 points for a 2 pointed leader.. It has no prompts at all, and will use current dimscale for leader scale and block scale (as required in my company) you can modify it deleting the layer where leader will be created "C-Dims" or modify the block name and physical block to fit you own needs. I don`t have much lisp experiencie (no studying it at all) so I had to make one lisp for left side and another for right side... If someone makes it better for one lisp for automated right or left side detection ... let me know. leader + block.zip Quote
Lee Mac Posted August 23, 2009 Posted August 23, 2009 Have you seen this? http://www.theswamp.org/index.php?topic=29245.0 Make sure you look at the latest version - about page 4 I think Quote
gilsoto13 Posted August 24, 2009 Author Posted August 24, 2009 Have you seen this? http://www.theswamp.org/index.php?topic=29245.0 Make sure you look at the latest version - about page 4 I think I actually did it, and checked out the lisp, but in this case I was looking for a 1 endpoint fixed leader... but my civil pal here asked me to find one where he could make a 2 point leader and automatically insert an elliptical block with attributes, I thought there were going to be many in the internet, but I searched completely into this forum with "leader" and couldn't find this lisp, so I just tried to do it by myself, I used my old leader lsp and added the annotation -- block option... and insert our desired block for this case... I would have liked to have only one lisp or abbreviation for any case (left or right) but that requires studying the languaje a bit more... (what I mean is that if the first picked point is at left side than the second point, one block will be inserted, and if the first picked point is at the right side... then another block case will be inserted) But since I found the way to make it work, I wanted to share it with the group here... and perhaps someone like you would be interested in add some perfection to it. Quote
alanjt Posted August 24, 2009 Posted August 24, 2009 i would just use an mleader. you can even make a separate style that always uses the attributed block. i have one at work that is a pie of 4 separate attributes. that would be the easiest option and a lot cleaner. plus, you would get all the new advantages and other goodies that come with the use of an mleader. Quote
gilsoto13 Posted August 24, 2009 Author Posted August 24, 2009 i would just use an mleader. you can even make a separate style that always uses the attributed block. i have one at work that is a pie of 4 separate attributes. that would be the easiest option and a lot cleaner. plus, you would get all the new advantages and other goodies that come with the use of an mleader. I also tried mleader for a while before trying to build my own... the fact is that i didn´t know about mleader before yesterday. So I tried it for about 1 hour to check if I could make an easy routine with it... but I stuck with the fact that it was not creating my leader according to the current dimscale and also insert the block according to the current dimscale... So I went to use the normal leader command... I tested mleader on 2008, I will check it out on 2009 and 2010 tomorrow at the office... in 2008 I don´t see the option to save mleader styles. Quote
alanjt Posted August 24, 2009 Posted August 24, 2009 I also tried mleader for a while before trying to build my own... the fact is that i didn´t know about mleader before yesterday. So I tried it for about 1 hour to check if I could make an easy routine with it... but I stuck with the fact that it was not creating my leader according to the current dimscale and also insert the block according to the current dimscale... So I went to use the normal leader command... I tested mleader on 2008, I will check it out on 2009 and 2010 tomorrow at the office... in 2008 I don´t see the option to save mleader styles. type "mleaderstyle" Quote
gilsoto13 Posted August 24, 2009 Author Posted August 24, 2009 type "mleaderstyle" I configured easily the mleader, but it doesn´t allow for automatic scaling as desired.. I think I will stick with my small lisp, it works and gets inserted as desired. But mleader and the dynamic intelligent one may work for other multiple cases. That's a dialog box I didn´t know about thought. Quote
alanjt Posted August 24, 2009 Posted August 24, 2009 I configured easily the mleader, but it doesn´t allow for automatic scaling as desired.. I think I will stick with my small lisp, it works and gets inserted as desired. But mleader and the dynamic intelligent one may work for other multiple cases. That's a dialog box I didn´t know about thought. automatic scaling for mleaderstyles should work on the same principles as dimstyles, the dimscale. i can't say i'm 100% on that, since i use annotative blocks, dimstyles, textstyles, mleaderstyles and in C3D, everything is annotative. there's nothing wrong with using a lisp, it's just that a lisp routine isn't always required. 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.