Zoom to Selected Entities in VBA

Discussion in 'AutoCAD' started by Carlos Silva, Jul 11, 2003.

  1. Carlos Silva

    Carlos Silva Guest

    Hi everyone

    Is there a way to program this:
    you select some objects
    and then it does like a zoom extents
    only to the selected objects group extension?

    thank you very much

    Carlos Silva
     
    Carlos Silva, Jul 11, 2003
    #1
  2. http://code.acadx.com/visualbasic/048.htm

    This routine will return the lower left and upper right coordinates of a
    given selection set's bounding box. From there you can just perform a
    Zoom window.
     
    Frank Oquendo, Jul 14, 2003
    #2
  3. Carlos Silva

    Ed Jobe Guest

    the lisp ng is autdesk.autocad.customization. Since it wasn't that long ago,
    you should just be able to scroll through till you find it. Even though you
    don't know lisp, the algorithm isn't difficult and you should be able to
    follow the code from the disscussions in the thread. Give it a try.
     
    Ed Jobe, Jul 14, 2003
    #3
  4. Carlos Silva

    Carlos Silva Guest

    thankyou everybody I'm looking at it right now

    Carlos
     
    Carlos Silva, Jul 14, 2003
    #4
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.