Author Topic: Update thumbnail on save  (Read 4774 times)

0 Members and 1 Guest are viewing this topic.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Update thumbnail on save
« on: January 09, 2007, 11:35:22 AM »
Has anyone experienced the thumbnail reverting back to the dwg image icon instead of a thumbnail when using Thisdrawing.Save ?  If I save and close a dwg manually, it updates the thumbnail, but if I use code to do the same thing, I get no thumbnail.
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Bryco

  • Water Moccasin
  • Posts: 1883
Re: Update thumbnail on save
« Reply #1 on: January 09, 2007, 12:12:03 PM »
I think it always has. I've never attached the problem but perhaps you'll find an answer here.
http://discussion.autodesk.com/thread.jspa?messageID=4700196

Bryco

  • Water Moccasin
  • Posts: 1883
Re: Update thumbnail on save
« Reply #2 on: January 09, 2007, 01:06:42 PM »
Using the imageview.cls the following sub worked fine on 2006
(Updated the piccy)

Sub check()

    Dim IV As ImageView
    Set IV = New ImageView
    Debug.Print IV.GetDrawingPreview(ThisDrawing.FullName)
    ThisDrawing.Close True

End Sub