ObjectDBX zoom extents

Discussion in 'AutoCAD' started by Dave Preston, Nov 16, 2004.

  1. Dave Preston

    Dave Preston Guest

    Is it possible, or any workaround?

    --
    Dave Preston
    Technical Dev. Engineer
    C A Design Services Limited
    Address: Design Centre, Hewett Rd, Gapton Hall,
    GREAT YARMOUTH,
    Norfolk 31 0NN,
    Tel: 01493 440444,
    Fax: 01493 442480,

    E-Mail: ,
    Web Site: www.cadesignservices.co.uk,

    Registered in England No. 1595687

    This e-mail and any attached files is confidential and intended for the
    addressee(s) only. It may contain privileged and confidential information,
    and may not be disclosed to anyone else. Unauthorised recipients are
    requested to preserve this confidentiality by deleting the original and to
    advise the sender immediately of any mistakes in transmission. Internet
    communications are not secure and therefore C A Design Services Limited does
    not accept any legal responsibility for the contents of this message, and
    the message and files are opened at the risk of the recipient. Unless
    otherwise specifically stated any views or opinions are solely those of the
    author and do not represent those of C A De
     
    Dave Preston, Nov 16, 2004
    #1
  2. Dave Preston

    Ed Jobe Guest

    Since there is no editor to zoom around in, I'd say its not possible.
    There's no workaround because no graphic operations are available. You can't
    even do a selection set. You just have to iterate through the database to
    find what you're looking for.
     
    Ed Jobe, Nov 16, 2004
    #2
  3. Dave Preston

    Dave Preston Guest

    Thanks Ed. I am inserting a raster image and would like to zoom to it's
    extents but if that's not possible it's not a big deal, it would have just
    looked neater.

    --
    Dave Preston
    Technical Dev. Engineer
    C A Design Services Limited
    Address: Design Centre, Hewett Rd, Gapton Hall,
    GREAT YARMOUTH,
    Norfolk 31 0NN,
    Tel: 01493 440444,
    Fax: 01493 442480,

    E-Mail: ,
    Web Site: www.cadesignservices.co.uk,

    Registered in England No. 1595687

    This e-mail and any attached files is confidential and intended for the
    addressee(s) only. It may contain privileged and confidential information,
    and may not be disclosed to anyone else. Unauthorised recipients are
    requested to preserve this confidentiality by deleting the original and to
    advise the sender immediately of any mistakes in transmission. Internet
    communications are not secure and therefore C A Design Services Limited does
    not accept any legal responsibility for the contents of this message, and
    the message and files are opened at the risk of the recipient. Unless
    otherwise specifically stated any views or opinions are solely those of the
    author and do not represent those of C A De
     
    Dave Preston, Nov 16, 2004
    #3
  4. not to sure if this works, but anyway....

    you may be able to create an acadview with the required width, height and
    centre to suit you're raster image, then set that view to be the active view

    just a thought


    cheers

    mark
     
    Mark Dubbelaar, Nov 16, 2004
    #4
  5. Dave Preston

    Dave Preston Guest

    Cheers Mark. I'll try it. As I say, it's not a big issue. I've done the main
    job of inserting a raster image, after I worked out that the scalefactor is
    not really a scale factor at all, and editing attributes.
     
    Dave Preston, Nov 16, 2004
    #5
  6. Dave Preston

    Ed Jobe Guest

    The key word is "Active". Since there is no editor, which is where viewing
    is done, there will be no views, active or otherwise. You could add an
    object, like a viewport, but you would have to set its properties to known
    values (or ones you calculate, not acad).
     
    Ed Jobe, Nov 16, 2004
    #6
  7. you could just have a routine that zooms extents when you finish opening the
    drawing up... or have it zoom to the extents of the image, depending on when
    you want to see the whole image
     
    Mark Dubbelaar, Nov 17, 2004
    #7
  8. Dave Preston

    Dave Preston Guest

    Cheers Ed,

    On a different but related subject, I found the .width and .imagewidth
    properties of a raster image and I manually calculated that the files are
    scanned at 200 dpi, but the dpi must be stored somewhere for AutoCAD to
    place it at scanned size but I didn't see a property for it.
     
    Dave Preston, Nov 17, 2004
    #8
  9. Dave Preston

    Dave Preston Guest

    Cheers Mark.

    --

    Regards
    Dave Preston


     
    Dave Preston, Nov 17, 2004
    #9
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.