Test for inside objects

Discussion in 'AutoCAD' started by Andrew Elmore, Jan 26, 2004.

  1. How can I test to see if the current object has objects in side of it? If I
    look at all enties that are with in the min and max cords of the current geo
    that would tell me if they are with in, but how do I get the min amd max
    cords of the object.

    Andy
     
    Andrew Elmore, Jan 26, 2004
    #1
  2. I'm useing
    With oPline
    dMinX = .Coordinates(0)
    dMinY = .Coordinates(1)
    dMaxX = .Coordinates(4)
    dMaxY = .Coordinates(5)
    End With
     
    Andrew Elmore, Jan 26, 2004
    #2
  3. Andrew Elmore

    wivory Guest

    Try the GetBoundingBox method.

    Regards

    Wayne Ivory
    IT Analyst Programmer
    Wespine Industries Pty Ltd
     
    wivory, Jan 29, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.