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 / 10654
10653  |  10655
Subject: 
Re: Search path question
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 12 Jul 2007 23:36:22 GMT
Viewed: 
10506 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
> I just noticed some unexpected behavior in LDView, and I wanted to ask here
> whether or not the behavior was right.  Suppose you have the following files:
> 
> TestModel.ldr
> Sub/Sub1.ldr
> Sub/Sub2.ldr
> 
> TestModel.ldr contains a reference to Sub/Sub1.ldr.  When Sub1.ldr refers to
> Sub2.ldr, should it use Sub2.ldr as the filename or Sub/Sub2.ldr?  In other
> words, does the "current model directory" part of the search path refer to the
> model the user actually loaded, the current model, or both?
> 
> For reference, LDView can't find the file if you don't use Sub/Sub2.ldr in
> Sub1.ldr.  I would lean towards saying that this is incorrect behavior, but
> since nobody has complained about it, it appears that people aren't doing this
> in their models (which is understandable, I guess).

I would also lean towards always requiring the subdirectory, but am open to
argument the other way.

ROSCO



Message is in Reply To:
  Search path question
 
I just noticed some unexpected behavior in LDView, and I wanted to ask here whether or not the behavior was right. Suppose you have the following files: TestModel.ldr Sub/Sub1.ldr Sub/Sub2.ldr TestModel.ldr contains a reference to Sub/Sub1.ldr. When (...) (19 years ago, 12-Jul-07, to lugnet.cad.dev)

5 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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