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 / 15615
     
   
Subject: 
Re: "LGEO" and "L3P v1.4 BETA 20080930"
Newsgroups: 
lugnet.cad
Date: 
Fri, 3 Oct 2008 22:07:02 GMT
Viewed: 
6697 times
  

In lugnet.announce, Lars C. Hassing wrote:

Thanks for the new version Lars!  I'll post issue as I find them but this stuck
out

The LDrawIni library will search for an ldraw.ini file in a number of places,
the first one found is used:
1. The LDRAWINI environment variable
2. Windows                      MacOSX + Linux
   %USERPROFILE%\LDraw.ini     $HOME/Library/Preferences/org.ldraw.plist (Mac)
   %ALLUSERSPROFILE%\LDraw.ini /Library/Preferences/org.ldraw.plist      (Mac)
   LDrawDir\LDraw.ini          $HOME/.ldrawrc
   %windir%\LDraw.ini          $HOME/ldraw.ini
   C:\Windows\LDraw.ini        LDrawDir/LDraw.ini
                               /etc/ldraw.ini

For Windows, you should add the App Data directory for a searched location.
Microsoft recommends and Vista security requires that program specific config
files be located there, preferably in a specific folder.  For LDDP I create an
LDraw folder specifically for this purpose.  Now that I think about it, the LSC
could probably define the location preference for each platform.

-Orion

   
         
   
Subject: 
Re: "LGEO" and "L3P v1.4 BETA 20080930"
Newsgroups: 
lugnet.cad
Date: 
Sun, 5 Oct 2008 23:19:19 GMT
Viewed: 
6705 times
  

In lugnet.cad, Orion Pobursky wrote:
For Windows, you should add the App Data directory for a searched location.
Microsoft recommends and Vista security requires that program specific config
files be located there, preferably in a specific folder.  For LDDP I create an
LDraw folder specifically for this purpose.

OK, good idea. You mean the %APPDATA% environment variable ?
Where should it go in the search order ?   Like this:

   The LDRAWINI environment variable
   %APPDATA%\LDraw.ini
   %USERPROFILE%\LDraw.ini
   %ALLUSERSPROFILE%\LDraw.ini
   LDrawDir\LDraw.ini
   %windir%\LDraw.ini
   C:\Windows\LDraw.ini


Now that I think about it, the LSC
could probably define the location preference for each platform.

Yes. I have added the locations I have collected during the years
from various postings.
/Lars

 

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