To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9524
9523  |  9525
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 25 Feb 2004 15:42:31 GMT
Viewed: 
5619 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
In lugnet.cad.dev, Michael Lachmann wrote:
Good idea, so how about

[LDRAW_SEARCH]
1=SHOW    <MODELDIR>
2=HIDE       <LDRAWDIR>P
3=SHOW    <LDRAWDIR>Parts
4=SHOW    <LDRAWDIR>Models
.
.
.
20=SHOW "C:\A special path with blanks"

Keywords <MODELDIR> ... actual directory where the project/file is located
<LDRAWDIR> ... what it tells us
and finaly paths starting with anything different from "<" as beeing
absolute paths as beeing designed for the operating system

I think two keywords for predefined paths should be enough.

It looks good to me.

It works for me too.  So we should check the user's home directory
for an ldraw.ini file containing an [LDRAW_SEARCH] section, then if not
found look in the ldraw.ini file in Windows directory.

For myself, because of platform portability considerations, I'll still
check the environment variable LDRAW_SEARCH before looking for an
ldraw.ini file.  I'll separate the entries in the environment variable
with the "|" character.  However, I'm undecided whether to require
a HIDE or SHOW tag, or use only <HIDE> and make SHOW the default.  Will
anyone else be using the environment variable, and if so do you have
a preference?

Don



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Me too. I think it is a good idea with a separate section for the search directories, it allows shorter keys than suggested in (URL) I suggest section name [LDrawSearch] which is more in line with [LDraw]. (...) Yes, first (...) (21 years ago, 25-Feb-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) It looks good to me. --Travis Cobbs (21 years ago, 24-Feb-04, to lugnet.cad.dev)

132 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
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