@User do you have a list/doc of all attributes and values understood by xschem? Eg attribute "type" and value "subcircuit"? Also are these "built-in" attribute/value pairs built in to the C code or are they understood by scripts which do things like generate netlists?