making pline active entity (SDE CAD Client)

Discussion in 'AutoCAD' started by Mark Nelson, Jul 10, 2003.

  1. Mark Nelson

    Mark Nelson Guest

    Help,


    I am writing my first VBA app using ESRI's CAD Client ActiveX API. I am
    trying to run a spatial query against an SDE database to drawing
    subdivisions into AutoCAD.

    I can get it work with every kind of query I do not need (entire layer,
    current view, etc..) but the one I do need (polygon-passthru). I draw the
    required closed polygon but I can't figureout how to make it the active
    object in AutoCAD. It needs to be the selected entity just before I run my
    query.

    I have tried highlighting it but that does not help.

    Mark Nelson
    Idaho Power Company
     
    Mark Nelson, Jul 10, 2003
    #1
  2. James Belshan, Jul 10, 2003
    #2
  3. Mark Nelson

    Ed Jobe Guest

    Highlighting doesn't select it, it just changes the screen display. You need
    to add the entity to a selection set to have it selected. You can also use
    the Highlight property on the selection set, but its not necessary.
     
    Ed Jobe, Jul 10, 2003
    #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.