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 / 9571
9570  |  9572
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 5 Mar 2004 20:25:53 GMT
Viewed: 
4266 times
  
In lugnet.cad.dev, Michael Lachmann wrote:

"Don Heyse" <dheyse@hotmail.spam.go.away.com> schrieb im Newsbeitrag
news:Hu4BBu.20n4@lugnet.com...
<SNIP>
Here's how I see it working:

1.  The admin creates an LDRAW directory on the server.
2.  The admin creates extra parts directories under <LDRAWDIR> on the server.
3.  The admin creates an ldraw.ini file in the <LDRAWDIR> using the new
    GUI program and adds extra LDrawSearch paths for the extra dirs using
    the OS neutral <LDRAWDIR>\ExtraParts format.
4.  The admin edits the NT login script \\PDC\netlogin\login.bat
    to set LDRAWDIR env variable.  This will cause all NT users
    to find the ldraw.ini file on the server and use the extra dirs.
4.5.  Depending on the installation, there may be a global script for
    UNIX clients that does the same thing.
4.75  For networked Mac users he creates the global pref file
    /Library/Preferences/org.ldraw.plist with LDRAWDIR and LDrawSearch
    settings in it.
5.  The user logs on and runs MLCAD off of the server.  It reads
    the LDRAWDIR environment variable and finds the <LDRAWDIR>/ldraw.ini file
    with the extra part directories.
6.  The user decides he wants to add the MegaBlok parts.  He copies the
    <LDRAWDIR>ldraw.ini file to his HOME directory and adds a path for
    <HOME>/clones where he has stored the clone parts.  Maybe he even adds
    the tags <PARTS> and <CLONES> to identify them better for some future
    version of LPUB.
7.  He also adds the knex parts and labels the directory with the extra tags
<PARTS>, <KNEX>, and <SKIP> because he wants to search for knex parts
before things in the <MODELDIR>, but only when he's enabled KNEX. Most
    of the time he wants to ignore them.
8.  Finally he adds the boxer parts and labels that directory <PARTS>, <BOXES>,
and <SKIP> for similar reasons.  He can't put them in %LDRAWDIR%\PARTS\B
because that's set to read only by the admin.  Hopefully a future version
of the boxer program will be able to find them in the new location. Or
maybe a future version of Windows will allow a user to create real soft
    links instead of those useless shortcut links...

I think this all works ok with the search strategy I listed earlier.

Don

There is also some network software for NT and unix, which mounts a network
drive as a sub-directory (event under Windows). This could be a possible way
to do as well.

There are all sorts of network mounting tools out there.  I'm not sure,
but perhaps you're thinking of samba.  I've used that from the unix side
to be both a client and a server for Windows networks.  But there are
plenty of other more obscure methods.  I think I've even used software
to mount an ftp site as a directory under Windows.

Anyhow, the point I was trying to make is that it's possible to put
it all in one place on the server and make it available to everyone
with minimal effort.  Then the users can easily override the default
settings.

The MLCAD registry settings could be created by a regedit script in
the global \\PDC\netlogin\login.bat file.  And I believe there are other
ways to push registry settings onto clients from the server.

I see you didn't object to all the new tags I proposed in steps
6, 7, and 8.  ;^)  What do you think of <SKIP> as third alternative
to <HIDE> and <SHOW>?

Don



Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu4BBu.20n4@lugnet.com... <SNIP> (...) server. (...) file (...) tags (...) Most (...) <BOXES>, (...) %LDRAWDIR%\PARTS\B (...) version (...) Or (...) soft (...) There is also (...) (21 years ago, 5-Mar-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
    

Custom Search

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