//定义Runtime TVF函数demo,根据变量DIR对目标层进行指定方向的收缩0.5,把“星”替换为"*"(说我有敏感字呀,不让发ORZ)
TVF FUNCTION demo [/星
tvf::GET_LAYER_ARGS tlayer
global DIR
tvf::SETLAYER tlayer_s = "SHRINK $tlayer $DIR BY 0.5"
tvf::OUTLAYER "COPY $tlayer_s"
星/]
//调用
//my_rule1的结果相当于COPY (SHRINK metal1 TOP BY 0.5)
my_rule1 {
TVF demo metal1 [
global DIR
set DIR TOP
]
}
//my_rule2的结果相当于COPY (SHRINK metal1 RIGHT BY 0.5)
my_rule2 {
TVF demo metal1 [
global DIR
set DIR RIGHT
]
}
请问一下 提参(pex)时,报错:Error on line 64 of SVRF generated from TVF-calibrated rules version not supported by the version of the executable : pex xcalibrate version. 是什么原因呢,谢谢!