Using Select Tool Polygon with vb.net

Hi, We are trying to create a select using polygon shape from code.We are in sketch env and we have lots of circles (or 2d geometry), we have aspecific fence geometry shape coordinates and we need to select (by code) all the 2d geometry that are in the fence shape and then delete the selected geometry. we found in the help DMSHAPE and IDMGeometricLocate but how can I use it in vb.net env??? PLEASE HELP !!!!!!!!!!!!!!  

 

Posted by: Michael Simkin
Post date: 7/23/2008 1:40:47 AM

1 REPLY

RE: Using Select Tool Polygon with vb.net

hi,

 

Take a look at the classes system.drawing.region and system.drawing2d.graphicspath

Region.IsVisible(p as point) return a true if the point is withing a shape.

 

Posted by: Gilles Dorval
Post date: 9/30/2008 12:18:01 AM