To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 540
539  |  541
Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Wed, 20 Jan 1999 18:20:57 GMT
Viewed: 
1031 times
  
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.

2. (Minor) To get the path to LDraw, use the LDRAWDIR environment
variable, or look in ldraw.ini, section [LDraw], key BaseDirectory.

Steve

On Tue, 19 Jan 1999 22:14:56 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

I have made a small program, to help me search through the LDRAW parts. It
scans the PARTS directory, and collects all the description lines (first
line) to a private data file (A scan is only needed when the parts have been
updated).

Then I can enter one or more words to search for, in the combined text (.dat
file name + description) and immediately see all the matching lines (The
order of the search words is irrelevant).

I can for example search for 'roof glass', and immediately see the result:

2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
4448.DAT   Window    4 x 4 x 3 Roof Glass

The search is incremental (as soon as You write a letter, You only see those
lines that match), and is (at least on my machine) instantaneous.

If You are interested to try it, there is a ZIP file (170 kB) available at:
http://user.tninet.se/~hbh828t/ldlist.zip


Happy LDRAWing,
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm







Message has 1 Reply:
  Re: Small search program for LDRAW parts
 
Steve Bliss skrev i meddelandet <36a61e13.5604179@lu...et.com>... (...) Huh? It doesn't do that for me... Perhaps You are trying to use the single quote for an exact match - it should be the double quote, preferrably no quote at all. (What did You (...) (26 years ago, 20-Jan-99, to lugnet.cad)

Message is in Reply To:
  Small search program for LDRAW parts
 
Hi all! I have made a small program, to help me search through the LDRAW parts. It scans the PARTS directory, and collects all the description lines (first line) to a private data file (A scan is only needed when the parts have been updated). Then I (...) (26 years ago, 19-Jan-99, to lugnet.cad)

33 Messages in This Thread:












Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR