首页 / design / oaOccScalarNet

oaOccScalarNet

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

概览

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

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

详细说明

The oaOccScalarNet class implements a scalar (single-bit) net。

方法总览

状态 Python 调用
obj.getName(name)
obj.getPathName(pathName)
obj.getNet()
obj.getModNet()
obj.getName(name)
obj.getName(ns, name)
obj.getPathName(pathName)
obj.getPathName(ns, pathName)
_design.oaOccScalarNet.find(occurrence, name)

方法说明

obj.getName(name)

绑定状态: 已绑定

Python 调用: obj.getName(name)

This function returns the local name of this scalarNet within its parent occurrence。

参数

  • name: The returned net name。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getName(name)

obj.getPathName(pathName)

绑定状态: 已绑定

Python 调用: obj.getPathName(pathName)

This function returns the full path name of this scalarNet, relative to the top occurrence in the occurrence hierarchy containing this scalarNet。

参数

  • pathName: The returned path name。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getPathName(pathName)

obj.getNet()

绑定状态: 已绑定

Python 调用: obj.getNet()

This function returns a pointer to the corresponding net in the block domain。 NULL is returned if this occurrence net is not visible to the block domain。 从 oaOccNet 重新实现。

返回

  • A pointer to an oaNet。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getNet()

obj.getModNet()

绑定状态: 已绑定

Python 调用: obj.getModNet()

This function returns a pointer to the corresponding net in the module domain。 NULL will be returned if this net is an occurrence of a physical-only net。 从 oaOccNet 重新实现。

返回

  • A pointer to an oaModNet。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getModNet()

obj.getName(name)

绑定状态: 已绑定

Python 调用: obj.getName(name)

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getName(name)

obj.getName(ns, name)

绑定状态: 已绑定

Python 调用: obj.getName(ns, name)

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getName(ns, name)

obj.getPathName(pathName)

绑定状态: 已绑定

Python 调用: obj.getPathName(pathName)

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getPathName(pathName)

obj.getPathName(ns, pathName)

绑定状态: 已绑定

Python 调用: obj.getPathName(ns, pathName)

Python 示例

from oapy._oa import _design

# assume obj is a oaOccScalarNet
obj.getPathName(ns, pathName)

_design.oaOccScalarNet.find(occurrence, name)

绑定状态: 已绑定

Python 调用: _design.oaOccScalarNet.find(occurrence, name)

This function searches the specified occurrence looking for a scalarNet with the specified name。 If name is hierarchical, this function will descend into lower levels of occurrence hierarchy, expanding the hierarchy and binding the master designs as needed。 The scalarNet is returned if found, otherwise NULL is returned。

参数

  • occurrence: The occurrence in which to search。
  • name: The scalar net name to find。

返回

  • A pointer to the oaOccScalarNet。

Python 示例

from oapy._oa import _design

_design.oaOccScalarNet.find(occurrence, name)