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 # 7308:
Question
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


13.4.2010
18733×
applies to: AutoCAD ·