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 / 11151
    Library search paths. —Roland Melkert
   Hi all, I'm working on my new editor and wondering on how to implement default color loading. I wanted to let the system look for ldconfig.ldr much like normal parts etc, but this won't work cause it's in the root ldraw dir instead of parts or p. So (...) (13 years ago, 22-Apr-11, to lugnet.cad.dev)
   
        Re: Library search paths. —Timothy Gould
   (...) Well those directories are often write-protected and given other sorts of restrictions. A better place would be {USER}\Documents\ldraw. Tim (13 years ago, 23-Apr-11, to lugnet.cad.dev)
   
        Re: Library search paths. —Don Heyse
   (...) I don't think you should use the normal search strategy (enhanced or not) for ldconfig.ldr because it's a special case. It's got global scope, and it's not referenced by name in your ldraw files. Tim's on the right track. A good strategy would (...) (13 years ago, 23-Apr-11, to lugnet.cad.dev)
   
        Re: Library search paths. —Roland Melkert
   (...) <snip> (...) Lars' project looks interesting but my generic LDraw search handling code is all done. I'm only looking for a way to get the 'default out of the box' colors in place upon first start. The user can change that of course but it (...) (13 years ago, 23-Apr-11, to lugnet.cad.dev)
   
        Re: Library search paths. —Travis Cobbs
   (...) I would personally advise against it, but can't give a real justification for this recommendation other than the fact that it's non-standard. (...) The spec is very specific about ldconfig.ldr being in the main LDraw directory. LDView (...) (13 years ago, 26-Apr-11, to lugnet.cad.dev)
 

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