¿ªÔÆÌåÓý

Re: "Missing schematic(s) of the hierarchy" error


 

--- In LTspice@..., "nikkotel" <nikkotel@...> wrote:

I'm trying to work hierarchically, so I created a low level schematic (myblock.asc), created a symbol (myblock.asy) for that schematic, and saved both of them at C:&#92;Program Files&#92;LTC&#92;...&#92;lib&#92;sym to be able to access the symbol when bringing components.
However, when I place that symbol in top level schematic, I get an error of missing schematic(s) of the hierarchy. If I save the top level schematic at the same folder as the low level, i.e. at e C:&#92;Program Files&#92;LTC&#92;...&#92;lib&#92;sym, there is no error and everything works fine.

However, I'd like to save my top level schematic at another folder, so I probably need to point LTSPICE to low level schematic location... I tried to place a SPICE directive ".include C:&#92;Program Files&#92;LTC&#92;...&#92;lib&#92;sym&#92;myblock.asc", however, it didn't work.

Please advise
Thanks a lot
Hello,

You have to save the symbol and the schematic in the folder
of your top-level schematic.

Now here comes what you missed.
You can add a symbol from the folder of your top-level schematic.
Therefore open the "Select component" dialog. Then change the
folder in "Top Directory" to your schematic folder. Now you see
all the components(.asy) in your top-level directory.

Best regards,
Helmut

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