Hello, I actually try to write a tclspice like tool in python (pyrex, numpy modules).
The module call directly spicelib or frontend functions. I 'd like to give an object oriented approach to the module, so I need to clean the memory when a circuit is not used any more (garbage collector). I use the com_removecirc() function for that purpose but the circuit is still in ft_circuits list and a "run" causes a segmentation fault. Is there a function removing entirely a circuit from the memory (database and circuits list) ? More over, it seems that the model name in a .cir file can't contain ('/', '+', '-'). What are the rules for models name ? Thanks a lot, Cyril.