Due to customer constraints I have to embed .tif images into AutoCAD drawings. This is a manual operation doing a copy ->pastespecial. I was wondering if there was any way to automate this? The pastespecial command doesn't seem to take arguments to bypass the dialoge box and therefore does not allow me to batch embed .tifs programatically.
Do you mean open a DWG one by one inside of the AutoCAD editor, or in a side database?
If I could do it without opening each individual drawing that would be great but I am sure I am going to have to open each drawing in the editor.
The idea is to write a .NET plugin that will open up a template drawing, insert the tif, save, and then move onto the next one. I just can't have any links to the tif, it must be embedded without path information. That is why I have to use the paste special in the manual operation.
If I can automate getting the tif inside the drawing, the rest is relatively straightforward.
can you send an example DWG file that shows the result please? Just want to make sure we are on the same page...
Ive attached a sample dwg in a zip file. The drawing contains a titleblock with an embeded tif image using the pastespecial command.
thanks for sending that... Check out this post http://forums.autodesk.com/t5/NET/How-can-I-insert