
You can conditionally include a file using this syntax in the F11 window:
.IF { logical_test } .INCLUDE filename .ENDIF
Notes
- Single curly braces around logical_test
- logical_test can include any parameters/variables
- If filename has spaces in it's path, enclose filename/path in double quotes
Reference:
Exploiting the Netlist Preprocessor