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
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.
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
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
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.
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).
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
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.