select_bump
foreach j_obj [dbGet selected ] {
set j_llx [dbGet $j_obj.bump_shape_bbox_llx ]
set j_lly [dbGet $j_obj.bump_shape_bbox_lly ]
set j_urx [dbGet $j_obj.bump_shape_bbox_urx ]
set j_ury [dbGet $j_obj.bump_shape_bbox_ury ]
set j_centerx [expr ( $j_llx + $j_urx ) / 2 ]
set j_centery [expr ( $j_lly + $j_ury ) / 2 ]
set j_llx [expr $j_centerx - 10 ]
set j_lly [expr $j_centery - 10 ]
set j_urx [expr $j_centerx + 10 ]
set j_ury [expr $j_centery + 10 ]
set j_layer_name "AP"
set j_net_name [dbGet $j_obj.net.name ]
puts "createPhysicalPin $j_net_name -layer $j_layer_name -net $j_net_name -rect \{ $j_llx $j_lly $j_urx $j_ury \}"
eval "createPhysicalPin $j_net_name -layer $j_layer_name -net $j_net_name -rect \{ $j_llx $j_lly $j_urx $j_ury \}"
}
deselectAll
|