LibertyOne Posted May 7, 2011 Share Posted May 7, 2011 Thanks LibertyOne - with my programming, I try to keep things short and simple I suppose a community project would be beneficial to help those learning, however it would need some coordination and structure (we tried something similar recently at theSwamp). How well did that go? How successful was it? I would still be interested in doing a project like that. First off, to see how others take a different approach in solving a problem. Secondly, the learning experience - I tend to use the basic AutoLisp functions and not those starting with vl- or vlax-. But I would like to learn using these effectively in programs. I'm still new to this forum, and I'm getting back into AutoLisp from using it intensively about 5 years ago. And before I forget it I wanted to brush up on it again. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 7, 2011 Share Posted May 7, 2011 How well did that go? How successful was it? I would still be interested in doing a project like that. First off, to see how others take a different approach in solving a problem. Secondly, the learning experience - I tend to use the basic AutoLisp functions and not those starting with vl- or vlax-. But I would like to learn using these effectively in programs. Its an ongoing project - it has taken a while to set up and currently moves along quite slowly whilst the tasks are delegated, but its interesting to see the community working together. Here are the threads if you're interested in following it: http://www.theswamp.org/index.php?topic=37684.0 http://www.theswamp.org/index.php?topic=37754.0 http://www.theswamp.org/index.php?topic=37929.0 http://www.theswamp.org/index.php?topic=37930.0 Lee Quote Link to comment Share on other sites More sharing options...
LibertyOne Posted May 7, 2011 Share Posted May 7, 2011 Its an ongoing project - it has taken a while to set up and currently moves along quite slowly whilst the tasks are delegated, but its interesting to see the community working together. Here are the threads if you're interested in following it: http://www.theswamp.org/index.php?topic=37684.0 http://www.theswamp.org/index.php?topic=37754.0 http://www.theswamp.org/index.php?topic=37929.0 http://www.theswamp.org/index.php?topic=37930.0 Lee Thanks! I also registered there about a week ago. I'll check it out. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 9, 2011 Share Posted May 9, 2011 (edited) Updated the code to Version 1.1, adjustment menu added to top of code, along with a few other goodies. Lee See Later posts for Latest Code Edited May 9, 2011 by Lee Mac Quote Link to comment Share on other sites More sharing options...
emadageeb Posted May 9, 2011 Author Share Posted May 9, 2011 thank's lee mac for all Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 9, 2011 Share Posted May 9, 2011 (edited) Code updated to Version 1.7 - this version should now hopefully work in ACAD2008. Notice also the new options in the adjustment menu at the top of the code. Area Label Full description of features here. Enjoy! Lee AreaLabelV1-7.lsp Edited May 12, 2011 by Lee Mac Updated to Version 1.7 Quote Link to comment Share on other sites More sharing options...
stevesfr Posted May 10, 2011 Share Posted May 10, 2011 Yes sir mate. You fixed it !!! Put this on your site. Most other area programs are now deemed junk. thanks, works perfect in Acad2008. Steve Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 10, 2011 Share Posted May 10, 2011 Yes sir mate. You fixed it !!! Put this on your site. Most other area programs are now deemed junk.thanks, works perfect in Acad2008. Steve Excellent to hear Steve - really glad it works for you now! I would thank CAB from theSwamp for experimenting with the table methods and suggesting a different approach for me to try. I definitely intend to add it to my site Thanks! Lee Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 10, 2011 Share Posted May 10, 2011 Updated the above code to Version 1.4 to allow users to choose between picking areas and selecting objects. If objects are selected and the option to use fields in the table is set, fields will be used to link the objects to the table. Enjoy! Lee Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 10, 2011 Share Posted May 10, 2011 Version 1.5 to squash two more minor bugs Quote Link to comment Share on other sites More sharing options...
emadageeb Posted May 10, 2011 Author Share Posted May 10, 2011 I think you will never ever keep chance for bugs in your programming. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 10, 2011 Share Posted May 10, 2011 I try... Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 11, 2011 Share Posted May 11, 2011 Finally added it to my site: http://lee-mac.com/arealabel.html ^^ has a better description of all the features Quote Link to comment Share on other sites More sharing options...
martinle Posted May 11, 2011 Share Posted May 11, 2011 Hello Mr. Lee Mac! I am from Austria. I love this Lisp, and would do one more question: I work with the millimeter (mm) and the field in the table should have the unit square meter (m²). If this still possible? I would be very happy. Please excuse my bad English .... It is after all of Google translator! Best wishes Martin Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 11, 2011 Share Posted May 11, 2011 Hi Martin, To change the area to m2 and add the suffix, you can alter the Field Formatting code (located in the Adjustment Menu at the top of the code), change it to the following: "%lu6%qf1%ps[,m²]%ct8[1e-006]" Regards, Lee Quote Link to comment Share on other sites More sharing options...
martinle Posted May 11, 2011 Share Posted May 11, 2011 Hello Mr. Lee Mac! Thanks for the quick reply. I added the code. so "%% LU6 QF1% ps [, m]% CT8 [1e-006] ";; Area field formatting Unfortunately, in the table field just above the code (so "%% LU6 QF1% ps [, m]% CT8 [1e-006]"shall not (the result!) Could you help me again! Thank you Mr. Lee Mac! Best wishes Martin Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 11, 2011 Share Posted May 11, 2011 Hi Martin, The code you added is not the code I suggested, the code should not have spaces and only use single '%' symbols - please take another look at my above post (perhaps you have viewed the post through a translator? maybe this is scrambling the code?) Lee Quote Link to comment Share on other sites More sharing options...
martinle Posted May 11, 2011 Share Posted May 11, 2011 Hello Mr. Lee Mac! But you also know everything! Now it works great great! Thanks for your help! Do you know Mr. Lee Mac I am a very big fan of them. Thank you! Best wishes Martin Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 11, 2011 Share Posted May 11, 2011 You're very welcome Martin, I'm glad it works for you now Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 11, 2011 Share Posted May 11, 2011 Program updated to Version 1.6 to fix bugs with UCS, Annotative Text and Open Polylines. My thanks go to Alanjt and CAB at theSwamp for reporting these bugs Additional items have also been added to the Adjustment Menu, including: Area Prefix/Suffix and Area Conversion Factor. Latest Version may be found here. Enjoy! Lee Quote Link to comment Share on other sites More sharing options...
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.