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 / 9498
9497  |  9499
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 11 Feb 2004 22:44:49 GMT
Viewed: 
3558 times
  
In lugnet.cad.dev, Michael Lachmann wrote:
The idea with environment variables is not bad, though there are two major
disadvantages against the methode implemented in MLCad (which uses some ini
file entries to define the search path, including an option for the user
wether the entry shell be visible for selection or not):

1) It doesn't allow to define paths inbetween the standard search paths,
which is a disadvantage sometime.
2) You do not have any chance to hide subparts and primitives from the users
view.

So, it seems like the search candidates are:
<MODELDIR>   (of the currently loaded model (PROJECTDIR))
<LDRAWDIR>\P
<LDRAWDIR>\PARTS
<LDRAWDIR>\MODELS
<LDRAWDIR>\AnotherDir
<LDRAWDIR>\AnotherDir\SubDir
C:\LDrawXtra\MyParts\In Work
C:\LDrawXtra\MyParts\Done
C:\LDrawXtra\UnOff
all with an option to hide them in certain programs.

How about
LDRAWSEARCH=<MODELDIR>|-<LDRAWDIR>\P|<LDRAWDIR>\PARTS|<LDRAWDIR>\MODELS
as the default (if LDRAWSEARCH is not set)

A full-blown example:
LDRAWSEARCH=-C:\LDrawXtra\MyPrims\In Work|C:\LDrawXtra\MyParts\In Work|
      <MODELDIR>|-<LDRAWDIR>\BFC\P|-<LDRAWDIR>\BFC\PARTS|
      -<LDRAWDIR>\P|<LDRAWDIR>\PARTS|<LDRAWDIR>\MODELS|
      <LDRAWDIR>\MODELS\TEST|C:\LDrawXtra\MyParts\Done

Note that <MODELDIR> changes each time you load a new model.
/Lars



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) A bit wordy, but not bad. How about a few more predefined tags for the standard directories to save environment space? Like using <P> instead of <LDRAWDIR>\P, <PARTS> instead of <LDRAWDIR>\parts, and <MODELS> instead of <LDDRAWDIR>\models? (...) (20 years ago, 16-Feb-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Hi, Just to give my two cents ... "Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Hsw4I7.MxC@lugnet.com... (...) search paths for parts. (...) usual ones. LDView got its implementation after a preview release of MLCAD 3.01, (...) (20 years ago, 11-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