Jump to content

Get area of polyline detail of square feet, square metre, acres


dgp123

Recommended Posts

  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

  • dgp123

    14

  • BIGAL

    3

  • tombu

    2

  • Dadgad

    2

Top Posters In This Topic

Posted Images

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! :beer:

Link to comment
Share on other sites

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.jpg

perfect.jpg

DAREA.zip

Link to comment
Share on other sites

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 by BIGAL
vl-load-com added
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...