I initially thought you could do this with a bsource, something like:
Code://
model nch mos1 type=n vto=1 kp=16u gamma=1.3 lambda=0.01 \
phi=0.7 pb=0.80 mj=0.5 mjsw=0.3 cgbo=200p cgso=350p cgdo=350p \
cj=300u cjsw=500p ld=0.1u tox=80n \
af=1 kf=3.1e-24
m1 (drain gate 0 0) nch w=20u l=0.8u
vgs (gate 0) vsource dc=1
vds (drain 0) vsource dc=1
rmeas (rop 0) bsource r=m1:vth*1000
imeas (rop 0) isource i=1u
save m1:ids rop
parameters start=0 stop=5 step=20m gsv=1
vgssweep sweep dev=vgs param=dc start=0.6 stop=2.0 step=0.2 {
dcAnalysis dc dev=vds start=start stop=stop step=step
}
(bsource could have been "resistor" in the above example).
However, this doesn't work. I then remembered that there is:
PCR: 568208
Title: Allow passing device operating point to bsource
to get this to work.
So it's not possible right now (assuming I've understood the question properly!)
Regards,
Andrew.