Display full version of the post: Advise please - adding JPG's to CAD

Sleepwalker
29.06.2013, 16:40

Hello There - I have been using AutoCAD 2007 for a while now but am struggling with the insertion of JPG's or "Raster image references". What I need to do is add images so that they are fully attached (embedded?) to the CAD drawing. I then need to be able to alter the raster in its original file, but not the copy on the CAD drawing. Thanks; Mark

heinsite
01.07.2013, 11:39
Just type ATTACH at the command line.  For Files of type: select All image files and then navigate to your JPG.  It's just like bringing an xref drawing into your workspace. Dave.

Sleepwalker
01.07.2013, 17:48

Hi Dave Thanks very much - I'll try that! Mark

heinsite
01.07.2013, 21:22
Just remember that images are raster-based files meaning they are resolution dependent.  As you scale them up you'll loose that nice crisp look.Attaching images to CAD files uses the same process as xref-ing drawing files.  Image imports this way are called "underlays"  Bringing image files into a drawing is much better done this way than via copy/paste also.  You have more functionality.Dave.

Sleepwalker
02.07.2013, 09:40

Hello You've given me a lot to think about there - will this method allow me to then alter the Raster/jpg in the original file without altering or deleting the one in the CAD file? - Mark

heinsite
02.07.2013, 10:21
That's an interesting question... and one I never played with before.  But here's what I found out:First, yes, you could change the image file without modifying the underlay in the drawing.  But you'd have to be careful because when you next open the file or reload the overlay it will update with the changes.  You'd need to bind it in the drawing if you wanted a particular version to remain static.But I also discovered that having an image underlay in an open drawing prevents you from saving changes in a program like photoshop.  That's different behavior than changing a dwg xref.  There if you change the xref AutoCAD will give you a warning that it's changed.  This kind of message won't happen with an underlay.  But you can close the drawing and then modify the image.  But again, when you reload or reopen the drawing you'll get the updated image.  So be careful.  Changing filenames of images, if that's part of the workflow, is probably your solution.Dave.