CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 7308:

Question

CAD 
 %  platform  category 
A
If you want to insert (attach) a raster image in your AutoCAD drawing through an AutoLISP code, use the following command:

(command "_IMAGE" "_ATTACH" "img1=myfile1.png" '(0 0 0) 1.0 0.0)

The third parameter specifies the name of the image in the drawing and its disk filename. The next parameter are the coordinates of the insertion point and then follows the scale and rotation of the image.

ACAD
100% *CAD
13.4.2010    18733×  
applies to: AutoCAD ·

See also:
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
Tip 14578:Clipping the captured Bing/Esri map image in AutoCAD.
Tip 14565:MAPIINSERT in version 2026 ignores georeference from the World file.
Tip 14532:Two options for inserting images into DWG in AutoCAD Web app.
Tip 14414:Link geo-tagged photos from your mobile phone to AutoCAD DWG maps.


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist