¿ªÔÆÌåÓý

Re: Understanding user file locations and structure.


 

Hello All:
?
Message clearly explains the symbolic link method of setting up everything except the user.bjt, user.mos etc... files.
I did my setup using hard links but you may succesfully substitute "soft link" wherever "hard link" is seen.
Tony Casey has pointed out that LTspice treats soft links and/or hard links with equal aplomb.
?
The next to last paragraph at the end of message explains how to set up those user.xxx files that support .model defined discreet parts.
?
All for now
?

Sent:?Wednesday, February 19, 2025 at 7:23 PM
From:?"John Woodgate via groups.io" <jmw@...>
To:[email protected]
Subject:?Re: [LTspice] Understanding user file locations and structure.

It may well be better, but your instructions are too terse for me and many others. I think your third bullet is the way to do your second bullet, rather than a third discrete step, but I may be wrong. Is your first bullet the same as:

I have created user.bjt, user.dio, user.mos,? etc? with my customized component models and put them in the above directory.

?

On 2025-02-20 00:05, Tony Casey wrote:
I have suggested this almost as many times as I have had birthdays, but (IMHO) the best way of accessing user-generated symbols is as follows:
  • Categorise them in folders, just like the included (supplied) symbols
  • Take the top level of user symbols and make one soft link into the base symbol folder:
  • mklink /d C:\users\<username>\%AppData%\LTspice\lib\sym\Supplementary <MyUserSymbolsTopLevelSymbolFolder>
This way, all your symbols are included in the (F2) Component Chooser dialogue. Your symbols will not be overwritten by any "Update Components" command.

IMHO, this is way better than using the "Control Panel > Search Paths > Symbol Search Path" option, which is not recursive.

You do need to be comfortable using CMD's DOS commands at Administrators level, though.

--
Regards,
Tony
?
?
On 17/02/2025 07:13, info@... wrote:
I have decided to move my customized library symbols, subcircuits, and models to the recommended location for LTspice 24.
I will place my stuff in ...\documents\LTspice.
I have created user.bjt, user.dio, user.mos,? etc? with my customized component models and put them in the above directory. LTspice has no trouble adding my components to the factory list when encountering the "pick new whatever" dialog.
?
I have always kept my symbols in subfolders? like TSS opamps, TSS comparators, TSS regulators, etc.? These were located in the factory SYM subfolder.? If I move them? to? the User area (...\documents\LTspice) I don't know how to make them come up in the master list when adding a component.? They show up as (sym) and then I have to click on sym to see my subdirectories of parts.? Is there a way to make my subdirectories show up with the factory subdirectories like it used to when I put them where I used to??
Once I get my custom symbols in the right location, I will figure out where to put the custom subcircuits and models.
I am sure this is a good plan for the long term -- no fear of my files being overwritten by updates -- but moving things and still getting it to work the same way is difficult.
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion
?
Virus-free.

Join [email protected] to automatically receive all group messages.