From 26b67ba1372ad721320fdc07b7fd0145016c1b9a Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 22 Feb 2026 12:35:04 +0100 Subject: [PATCH] annotate_op: if no OP and no DC dataset found load TRAN dataset and use 1st tran point in schematic annotation --- src/scheduler.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scheduler.c b/src/scheduler.c index 0af28441..05eccc01 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -373,6 +373,9 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg /* Xyce uses a 1-point DC transfer characteristic for operating point (OP) data */ res = extra_rawfile(1, f, "dc", -1.0, -1.0); } + if(res != 1) { /* try to load a tran analysis (display 1stpoint as OP data in schematic) */ + res = extra_rawfile(1, f, "tran", -1.0, -1.0); + } if(res == 1) { if(level >= 0) { xctx->raw->level = level;