aravinthaan@yahoo.co.in Posted August 12, 2008 Share Posted August 12, 2008 Hi all, I am extracting all values from autocad to my project.At the time of extracting how to find hatched area and hatching point whether it is circle or arc or some else..if any one know help me.. Quote Link to comment Share on other sites More sharing options...
luther4000 Posted August 13, 2008 Share Posted August 13, 2008 Well, if what you want is to know the area of a hatch, you just have to select it and look at the properties bar (type PR) and you will see the area. I lately have been working with AutoCAD Architecture and all this looks a bit stone age. In AutoCAD Architecture using Spaces, Space tags and Area Schedules all this becomes almost automatic. Quote Link to comment Share on other sites More sharing options...
aravinthaan@yahoo.co.in Posted August 14, 2008 Author Share Posted August 14, 2008 hi luther4000, i want to find hatch area through macro only.. you know how to get hatch area and position Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted August 14, 2008 Share Posted August 14, 2008 Use this function: ;;; pass this function an entity name ;;; returns the area (defun harea (ent) (vla-get-Area (vlax-ename->vla-object ent)) ) ;;; Example of usage (harea (car (entsel))) ;;; end example 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.