Inserting an Image Using the Command Line

You can bypass the Insert Image dialog box by using the command line.

Setting the AutoCAD FILEDIA variable to 0 allows you to insert an image by typing an image file name on the command line. This method is useful if you already have correlation data stored with your images, or if you want to use an AutoLISP routine to automatically insert images into your drawing.

When AutoCAD Raster Design toolset locates the image, it inserts it into your drawing using correlation data stored with the image. If AutoCAD Raster Design toolset cannot find a correlation file, the image is inserted using the information you defined in the Raster Design Options dialog box. For more information, see Image Defaults Tab (AutoCAD Raster Design Options Dialog Box). AutoCAD Raster Design toolset searches for a correlation source using the following order:

For more information about the AutoCAD FILEDIA variable, see the AutoCAD Help.