Windows Dev Center

 none
How to preview .dwg (AutoCAD file) in WDS preview pane

    Question

  • Hello, i have some little questions here. I have the newest WDS 4.0 installed on both laptop and desktop (Windows Xp MCE 2005 SP3 and Vista Ultimate Sp1)
    .
    As we all know the WDS preview pane especially in Xp shows most image and document eg: MS Office, JPEG, MP3 Album Art etc. It's very useful feature.

    Please correct me if i am wrong: WDS shows preview of Office files by using IE ActiveX control plug in for Office as well as for html and Adobe Reader (pdf), it also explains why the activex alert in WDS preview pane is similar with the IE one. The newer WDS (4.0) for Xp and Vista can also use vista only preview handler (Office 2007), in other side for Office 2003 WDS still use IE machine/browser help control by rendering it first in IE (Office ActiveX plug in). If i can open/display the files in IE, then usually i can be able to preview them in WDS too, am i right?

    If I am right, then my question is: how to preview some files that not default shown in WDS preview pane (3.01 and 4.0) such dwg (AutoCAD) etc. Can we use IE dwg ActiveX plug in for IE as WDS previewer? How to configure it? I have dwg activex plug in that make IE have abilty to open and display dwg files (online and offline), can i use it? and the last, since i have read in some old web articles (i forget which/where), they told about how to apply IE preview handler in Vista by using already available IE activex plug in to preview some files that natively has no standard preview handler yet  (at that time) such Xps and Pdf as well as html. Because so far Autodesk doesnt release dwg preview handler yet even in AutoCAD 2008 nor 2009, can we use the same way to preview dwg files in both Vista (explorer and search) and Xp (WDS) too. Please help me...

    Finally, please accept my apologize about my bad english, but i hope you know what i mean. Thank you so much for your help, i will appreciate it so much. regards


    Thursday, June 12, 2008 3:26 AM

Answers

  • some hours ago I thought i found this: WDS 4.0 (Xp) saves previewer data in registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Desktop Search\Previewers\

    It contains some file extensions that not all but only already have default previewer on WDS such .JPEG, .doc, .xls, .bmp etc. when i was opening regedit,  i still didnt find my file extension (.dwg) there as it already registered but in Windows Explorer. So i added it as new key, but then i confused what the registry value for it. as i made an experiment, i also already make the value as same as htm, jpeg, has etc..etc. rebooted, n still not worked.

    i also configured the IE activex plug in. IE can open and display dwg and other customized files as well, but not WDS yet.

    So, how to set the value, or the most optimal way? pleeease help me. please sir/mom. thank u so much for your kindness and regards.

    EDIT:  It's working now! the value of .dwg key is as same as with the one of .htm. The DWG Activex plug in that i use is Quickview plus DWG IE plug in. thank God.

    it seems i must start new thread since now
    Thursday, June 12, 2008 5:27 PM
  • please see: http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3524855&SiteID=1
    Regards
    Monday, June 23, 2008 7:52 PM

All replies

  • some hours ago I thought i found this: WDS 4.0 (Xp) saves previewer data in registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Desktop Search\Previewers\

    It contains some file extensions that not all but only already have default previewer on WDS such .JPEG, .doc, .xls, .bmp etc. when i was opening regedit,  i still didnt find my file extension (.dwg) there as it already registered but in Windows Explorer. So i added it as new key, but then i confused what the registry value for it. as i made an experiment, i also already make the value as same as htm, jpeg, has etc..etc. rebooted, n still not worked.

    i also configured the IE activex plug in. IE can open and display dwg and other customized files as well, but not WDS yet.

    So, how to set the value, or the most optimal way? pleeease help me. please sir/mom. thank u so much for your kindness and regards.

    EDIT:  It's working now! the value of .dwg key is as same as with the one of .htm. The DWG Activex plug in that i use is Quickview plus DWG IE plug in. thank God.

    it seems i must start new thread since now
    Thursday, June 12, 2008 5:27 PM
  • please see: http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3524855&SiteID=1
    Regards
    Monday, June 23, 2008 7:52 PM

  • If still the drawing persists with problems, continue on to the next set of steps.

    These can be done in any order, but have been listed in the order that Autodesk recommends makes the most sense. The file can be checked after each step. If things appear back to normal, there is no need to continue on to the rest of the steps.
    ​Open a blank DWG and type RECOVER at the command line. Browse to the problematic file to - allow AutoCAD a chance to restore the file.

    - Type OVERKILL at the command line, and select all objects. Check or uncheck properties to include or ignore, then click OK.
    - Type DELCON at the command line, and select all objects.
    - Type BREP and select all objects (if there are solids or surfaces in the file)
    - Type -SCALELISTEDIT, then "R" for reset, then "Y" for yes.
    - Type FILTERS, then click on the 'delete filters' button.
    - The DGNPURGE tool can be run if the file size is unexpectedly very large:  http://knowledge.autodesk.com/article/AutoCAD-DWG-files-unexpectedly-increase-in-file-size
    - Try using a different version of AutoCAD to open the drawing, such as AutoCAD 2013 vs. AutoCAD 2015 or plain AutoCAD vs. AutoCAD Architecture, etc. Try different computers if available.
    - Open a blank DWG, and try to attach the problematic file as an XREF. If it allows you to attach the file, try next to BIND it to the current file. If that works, run the repair steps listed above.
    - Use the SAVEAS command to save the DWG in an older file format. Attempt to open the newly created file.
    - Export the file to DXF format using the DXFOUT command. Next, open a blan DWG and use the DXFIN command to import the file just created.

    < Restore the Layout tabs:

    1. Right-Click one of the default layout tabs
    2. Select 'From Template...'
    3. Open the original file
    4. Choose the layout tabs to restore. (It is recommended to do this one tab at a time, in case one or more layout tabs are corrupted)
    > Move drawing objects between model and paper space. You may find that only one drawing space is usable in your file, although your main concern is model space:
    ​​1. Create a new layout and if need be, create a viewport.
    2. Use CHSPACE to move all the geometry to paper space.
    3. Create a new drawing and use the Design Center (ADC) to move the layout from the damaged file into it.
    4. Use CHSPACE again to move the geometry back to model space.
    5. Restore the original layouts from the bad file using the Design Center.

    > Dissect the drawing. In a copy of the file, conduct a process of elimination using QSELECT to select different object types and then delete them to see if that fixes what is wrong in the file. Do PURGE All after each deletion. Eventually you should remove the problem elements and then you can choose to leave them out, copy them in again from another file, recreate them, or further troubleshoot individual items to pinpoint exactly which one is problematic. A quick start to this whole process is to delete everything in the drawing and then test it. This will quickly tell you if the issue is with a drawing object or if it is a part of the drawing database.​
    Monday, November 03, 2014 8:23 AM