首页 / design / oaBaseMemNetCollection

oaBaseMemNetCollection

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaBaseMemNetCollectionoapy 中可用,可通过 _design 模块访问。

本页汇总 oaBaseMemNetCollection 当前在 oapy 中可用的 Python 接口。

详细说明

This is the abstract base class of the derived member net collection classes。 Member nets can be used to trace the connectivity implied by the use of multi-bit nets and connections。 The member net collection classes represent collections of nets that the starting net is a member of。 See the derived classes for more details。

方法总览

状态 Python 调用
obj.getCount()
obj.isEmpty()

方法说明

obj.getCount()

绑定状态: 已绑定

Python 调用: obj.getCount()

This function returns the number of objects in the collection。 Note: This function is not guaranteed to be fast。 For some collections, the database checks all the members of the collection。

Python 示例

from oapy._oa import _design

# assume obj is a oaBaseMemNetCollection
obj.getCount()

obj.isEmpty()

绑定状态: 已绑定

Python 调用: obj.isEmpty()

This function determines if there are any members in the collection。

Python 示例

from oapy._oa import _design

# assume obj is a oaBaseMemNetCollection
obj.isEmpty()