[ Skill ] cellView 被撑大了,如何清除看不见的东西?


https://www.cnblogs.com/yeungchie/

原因

由于 XL 的使用引入了一些 steiners ,且多余的没有被删除( 祖传 BUG 了 )。

解决方法

foreach(s geGetEditCellView()~>steiners
  dbDeleteObject(s)
)

额外情况

但少数情况会出现并不是由 steiners 引起的,说明还有别的连接信息在搞事。
直接用下面这个方法解决一切烦恼。

lceClearLogicalConn(geGetEditCellView())

这个函数的解释是:

Removes the logical connectivity on the specified cellview, such as nets that are not attached to terminals, and the nets and lxStickyNet property on all routes, shapes, and vias. In addition, the function clears all connectivity on instTerms and removes the markers created by the extractor.

这样所有连接关系会被清除,重建连接关系可以通过菜单 Connectivity --> Extract Layout