Doddle DWGcolumn.dll DWGicon.dll ScanDir TDwgPreview c_prev Linnet Slide2 PLFC DefaultUser Moonstruck Wieldy
Linnet is a small program that takes a DWG and extracts the preview and turns it into a slide file, providing a way to show a preview in AutoLISP dialogue boxes. If the DWG does not contain a preview, the Linnet will create an emtpy slide.
LINNET
The first parameter is the name of your drawing file. The Linnet makes no assumptions on file extensions, so include the ".DWG". Note that you can specify BAK files as well as autosave copies.
The second parameter is the name of the slide file to be created. It will be overwritten if it already exists. If you leave that parameter blank, the Linnet will take the drawing file name, change the extension to SLD and create a slide with the resulting name.
The Linnet also uses the file time of the slide file to communicate the version of AutoCAD that created the file. Look for the minutes. The value are as follows:
Remember, there were no previews before Release 13. Even then, previews don't have to be present.
The zipfile (see below) comes with a sample FileOpen dialogue in AutoLISP. It consists of the files:
DEMO.LSP
DEMO.DCL
The file-open dialogue looks like that:
Nothing special, but you have got your preview, and it is not slow.
NB: this sample uses the DOSLIB.ARX.
Linnet 2.3 (April 2007)
Linnet 2.2 (August 2004)
Linnet 2.1 (April 1999)
Linnet 2.0 (February 1999)
Linnet is freeware. By downloading the installation file you accept the license agreement.
Please download here
linnet23.zip (60kB)
The sample file-open dialogue needs the fabulous DOSLIB. Get it from
Robert McNeel.
If you need WMF preview as well you might want to download the old linnet1.zip (128kB).
