dgp123 Posted March 11, 2017 Share Posted March 11, 2017 Some one help me to make lsp for get area. It should contain detail of square feet, square metre, acres Quote Link to comment Share on other sites More sharing options...
Dana W Posted March 11, 2017 Share Posted March 11, 2017 You realise you posted in the CHAT sub-forum? You'll get more attention in one of the LISP sub-forums, especially on a week-end. Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 11, 2017 Author Share Posted March 11, 2017 Thanks for ur response ... Quote Link to comment Share on other sites More sharing options...
Dadgad Posted March 12, 2017 Share Posted March 12, 2017 Welcome to CADTutor dgp123. Lee Mac has a number of great lisps pertaining to AREA on his excellent website http://www.lee-mac.com/programs.html#general . Check them out, you'll be glad you did. Thanks Lee! Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 12, 2017 Author Share Posted March 12, 2017 Thanks bro Quote Link to comment Share on other sites More sharing options...
Dadgad Posted March 12, 2017 Share Posted March 12, 2017 You're very welcome. But don't thank me, thank Lee! While you are on Lee's website, I would be amazed if you can't find a bunch of others you would enjoy using. One of my personal favorites is LAYER DIRECTOR. Thanks Lee! Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 12, 2017 Author Share Posted March 12, 2017 I got this .fas file from ESURVERYING website. When select a polygon using DAREA command will give the area of polygon in 6 different measurement units viz. square feet, square meter, square inches, square yard, acres and hectares. THANKS IN ADVANCE...... DAREA.zip Quote Link to comment Share on other sites More sharing options...
RobDraw Posted March 12, 2017 Share Posted March 12, 2017 I would contact the source of the code for trouble shooting. Or maybe it is working and the rectangle is too small. Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 12, 2017 Author Share Posted March 12, 2017 I try it for large rectangle but the answers is 0.0000 Quote Link to comment Share on other sites More sharing options...
RobDraw Posted March 12, 2017 Share Posted March 12, 2017 Have you verified the area by getting it in another fashion? Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 12, 2017 Author Share Posted March 12, 2017 Yes and I got the answer... Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 12, 2017 Author Share Posted March 12, 2017 Bro check it --- Forum -AutoCAD - AutoCAD 2D Drafting, Object Properties & Interface - DAREA.fas is not working. Need help Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 12, 2017 Share Posted March 12, 2017 (edited) You can not get into a FAS its compiled so if it does not work can not help. here is a simple start (vl-load-com) (defun c:plinearea ( / obj) (setq obj (vlax-ename->vla-object (car (entsel "\nPick Pline")))) (setq plarea (vla-get-area obj)) (alert (strcat "Area is sq feet " (rtos plarea 2 2) "\n\n" "Area is sq m" (rtos (* plarea 0.09290304) 2 2))) ) Edited March 16, 2017 by BIGAL vl-load-com added Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 12, 2017 Share Posted March 12, 2017 Dont post twice its confusing Moderator please join. Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 13, 2017 Author Share Posted March 13, 2017 This is my first post. I keep in mind. Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 13, 2017 Author Share Posted March 13, 2017 Finally I got the perfect working fas file Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 13, 2017 Share Posted March 13, 2017 Can you share how you solved it in case someone else has this problem? Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 13, 2017 Share Posted March 13, 2017 Threads are merged. Quote Link to comment Share on other sites More sharing options...
dgp123 Posted March 13, 2017 Author Share Posted March 13, 2017 Please check the code. And Thanks for your response. Area window - AW.rar Quote Link to comment Share on other sites More sharing options...
pvsvprasad Posted March 14, 2017 Share Posted March 14, 2017 Please check the code. And Thanks for your response. hi all, Interesting post. i have tried your ".fas" code. i have created 5mx10m rectangle. and getting area as 50 sq.m. but square feet point of vile showing as 4.64 sft instead of 538.195sft. remaining units i am not tested. and another request is Place the area text with different units is best instead of dialog box results. we will wait for this version also. Best regards. 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.