这是我在别处提的问题,sinderal老大帮我改的答案。
在后处理的 fil 文件中定义:
CIMFIL/ON,CYCLE $$ Trap CYCLE statement
IW4=POSTF(7,4)
CASE/IW4
WHEN/ICODEF(BORE)
DMY=POSTF(20)$$ Save as current CL record
DMY=POSTF(21)$$ Reload saved CL record as current
QVALUE= POSTF(7,11)$$ Get Q Value
DMY=POSTF(13)$$ Process record
REPEAT/X,Y,Q,QVALUE,ALL
WHEN/OTHERS
DMY=POSTF(20)$$ Save as current CL record
DMY=POSTF(21)$$ Reload saved CL record as current
DMY=POSTF(13)$$ Process record
ENDCAS
CIMFIL/OFF
很好用的 |