How can I pass parameters to the hierarchical subcircuit? In LTSPICE, it was quite easy; parameters were just added to the subcircuit symbol… I understand that I can pass them by adding inputs to the subcircuit and then translating the voltages into parameters inside the subcircuit, but it is less convenient.
Reuse of subcircuits: I know that I can extract the netlist of the subcircuit from the top-hierarchy schematic, keep this text, and just paste it into another schematic, so a new symbol will be created. However, with this approach, the graphical (schematic) contents of the subcircuit is lost. Is there any other way to reuse the subcircuits, while preserving their graphical (schematical) contents?
This is how to reuse a hierarchical block. In short, this is a procedure to save a hierarchical block as a hierarchical symbol.
If a symbol calls a child schematic (.qsch) file, this symbol calls hierarchical symbol, and its Symbol Type is Blank.
If a symbol calls a subckt netlist (either this netlist is embedded into its library file field, or link to an external .txt or .lib subcircuit netlist file), this symbol is a subcircuit symbol, and its Symbol Type is “X”
In this request, you want the symbol link to a child schematic, and this is hierarchical symbol. When you share this symbol, you need to include your child schematic file. There is no way to embed a .qsch child schematic into a .qsym symbol file! So, your hierarchical symbol must together with your .qsch child schematic file.