On 3/25/2021 1:01 PM, Phil Hobbs wrote:
> bitrex wrote:
>> On 3/25/2021 12:47 PM, bitrex wrote:
>>> I have a schematic in a folder with model files that was on the
>>> desktop, which I then moved to a sub-folder on the C drive.
>>>
>>> As I understand it the software is supposed to look for the files
>>> specified in .inc foo.mod-type directives within the folder that
>>> contains the .asc file that contains those directives, if it doesn't
>>> find them within its own library. Always seemed to work before.
>>>
>>> But now it keeps complaining it can't find them in a path to a folder
>>> that doesn't even exist, anymore! How do I tell it to quit doing that?
>>
>> Sub-directory, rather. Ugh I've been working in Windows too long.
>
> Might be pilot error--try opening the .asc file in a text editor.
>
> Does it work with an otherwise-empty schematic?
>
> Cheers
>
> Phil Hobbs
>
It was something to do with the auto-generated symbol file associations
I think. Start new schematic in that new directory and .inc the file it
works fine, but add the auto-generated symbol and it doesn't.
Re-generate the symbol and it works OK again. Before doing that though
it was definitely complaining about not being able to find a .mod file,
in a directory unrelated to either the current directory or the LTSpice
directory.
Could've sworn I'd moved the folder around before and there wasn't a
problem. Hmm...