在custom compiler 的console中执行如下command来实现in design reporting R 与两点间走线长度:
set context [de::getActiveContext]
db::setPrefValue leStarRCReportResistance -value false -scope $context
db::setPrefValue leResistanceModel -value oaTechDB -scope $context
set res [le::reportResistance [db::getNets a -of [ed]] -source {{194.31 54.74} m5} -destination {{222.955 72.125} m3}]
puts "Path R: [lindex $res 2]"
puts "Length: [lindex $res 3]"