SPICECAD supports the usage of user-defined parameters. If you want to use a parameter within a property, take the name of the parameter and write it between brackets '{}'. That's all. So, instead of defining a 10kOhm resistor by typing '10k' when asked for the 'res' property, you can type '{resstring_adc1}', as an example.
Now, you need to specify the value of parameter 'resstring_adc1'. This is done by placing a so-called 'parameter box'.
If you don't have a parameter box yet, place one now (use the 'Define simulations' pullright menu entry 'params, place box' within the simulation menu) and edit the parameter values. If you already have a parameter box, execute 'updateparams', and add the missing parameter names will be added to the parameter box. If you want to add a single new parameter and its value to the parameter box, execute 'add new param' within the simulation menu. A window will pop up where you can specify the new parameter name and its value. If the parameter already exists, the existing parameter value will be changed, and you will receive a warning message. This command is useful if you specify new parameters which are undetectable by 'updateparams', for example monte carlo model specifications (example: the monte carlo model for a capacitor: 'flat/{stdevcap}' which contains the parameter 'stdevcap').
Parameter values can be read from a file. The filename is fixed to 'varlist'. Its format is as follows:
param1 value1
param2 value2
param3 value3
.
.
.
param_n value_n
(none) (none)
In addition to that, you can copy a schematic file which contains a parameter box to 'varlist'. You can also read in this file. To create a file 'varlist', you can push the button 'Save variables to file varlist' inside the property editing box. The contents will immediately be saved in file 'varlist' for later use in other designs.
NOTE: Reading parameters from a file will only update existing parameters. Parameters which are not present in the actual parameter box will be dropped.
Parameters can form expressions, for example , you can write '100k' , '{resparam}' or '{wid/leng*sheetres}'.
There must be only one parameter box inside the design. If you have forgotten a parameter box on a deeper hierarchy level, its contents won't be regarded. Instead, you will get a warning message.