Jump to content

Recommended Posts

Posted

Hi All,

 

I am having 2 Pointlists of closed polyline vertices which are partially overlaped.

Please tell me How can i calculate shape of overlapped portion from my point lists.

 

Thanks,

Kumar.:(

Posted

Your description is not clear at least to me , an image might be clearer to read or more details of the process that you planning to go with .

Posted

Hi,

 

Please find the attached snapshot.

I would like to find the common area of two polygons(marked with circle).

 

Intersection_Area.JPG

 

Thanks,

Kumar.

Posted

Pick a point in the common area .

 

(defun c:Test (/ e ent)
 (setq e (entlast))
 (vl-cmdf "_.-boundary" pause "")
 (setq ent (entlast))
 (if (and ent (not (equal e ent)))
   (progn
     (alert
       (strcat "Total Area : "
               (rtos (vla-get-area (vlax-ename->vla-object ent)) 2)
       )
     )
     (entdel ent)
   )
 )
 (princ)
)

Posted

Hi,

 

This is working fine, But for large area closed polygons boundary command is creating problems and returning irregular boundary out (when zoom to set to extends of entity).

 

Any alternate solution to avoid Zoom,Boundary problems.

 

Regards,

Kumar.

Posted

How about Hatching the area and get the area from the hatch?

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