Detach image rotine

Advertisement

Hi all,
I've a lot of files with pointers to images that no longer existe. When open
one of those files AutoCAD take a lot of time trying to find those images.
So, I need a way to do some kind of "purge" to those pointers in VBA.
Any Help?

Thanks
Luís Laíns

PS - Yes, I did put this one on Autocad.customization, but I'm used to
post/read from this group and got answers :)

2007-05-24 07:17

Never mind, brook my head for something so easy but got it:

Sub Detach_Allimages()
ThisDrawing.SendCommand "-image" & vbCr & "detach" & vbCr & "*" & vbCr
End Sub

Tks
Luís Laíns

"Luís Laíns "
<=?UTF-8?Q?Lu=C3=ADs_La=C3=ADns_?=> wrote in message
news:[email protected]
Hi all,
I've a lot of files with pointers to images that no longer existe. When open
one of those files AutoCAD take a lot of time trying to find those images.
So, I need a way to do some kind of "purge" to those pointers in VBA.
Any Help?

Thanks
Luís Laíns

PS - Yes, I did put this one on Autocad.customization, but I'm used to
post/read from this group and got answers :)