首页 / dm / oaCell

oaCell

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

概览

oaCelloapy 中可用,可通过 _dm 模块访问。

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

详细说明

The oaCell class implements an OpenAccess library cell object。 The oaCell class can be observed by deriving from oaObserver 。 Note: The oaCell function descriptions indicate if library access is required for the called function。 If the access type must be write access, this requirement also is noted。 For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide。

方法总览

状态 Python 调用
_dm.oaCell.destroy()
obj.getName(name)
obj.getName(ns, out)
obj.getCellViews()
_dm.oaCell.find(lib, name)
_dm.oaCell.get(lib, name)

方法说明

_dm.oaCell.destroy()

绑定状态: 已绑定

Python 调用: _dm.oaCell.destroy()

This function destroys this oaCell。 This function requires write access to the library associated with this object (through a call to oaLib::getAccess )。 An oacLibAccessDenied exception is thrown if write access to the library does not exist。 For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide。

异常

  • oacLibAccessDenied

Python 示例

from oapy._oa import _dm

_dm.oaCell.destroy()

obj.getName(name)

绑定状态: 已绑定

Python 调用: obj.getName(name)

This function returns the name of this cell in the specified namespace。

Python 示例

from oapy._oa import _dm

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

obj.getName(ns, out)

绑定状态: 已绑定

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

This function returns the name of this cell。

Python 示例

from oapy._oa import _dm

# assume obj is a oaCell
obj.getName(ns, out)

obj.getCellViews()

绑定状态: 已绑定

Python 调用: obj.getCellViews()

This function returns a collection of the cellViews which are defined using this cell。 This function requires access to the library associated with this object (through a call to oaLib::getAccess )。 An oacLibAccessDenied exception is thrown if access to the library does not exist。 For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide。

异常

  • oacLibAccessDenied

Python 示例

from oapy._oa import _dm

# assume obj is a oaCell
obj.getCellViews()

_dm.oaCell.find(lib, name)

绑定状态: 已绑定

Python 调用: _dm.oaCell.find(lib, name)

This function finds and returns the cell with the specified name if it exists。 If not found, NULL is returned。 This function requires access to the library associated with this object (through a call to oaLib::getAccess )。 An oacLibAccessDenied exception is thrown if access to the library does not exist。 For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide。

异常

  • oacLibAccessDenied

Python 示例

from oapy._oa import _dm

_dm.oaCell.find(lib, name)

_dm.oaCell.get(lib, name)

绑定状态: 已绑定

Python 调用: _dm.oaCell.get(lib, name)

This function finds and returns the cell with the specified name if it exists。 If not found, it is created, and the new cell is returned。 This function requires write access to the library associated with this object (through a call to oaLib::getAccess )。 An oacLibAccessDenied exception is thrown if write access to the library does not exist。 For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide。

异常

  • oacLibAccessDenied

Python 示例

from oapy._oa import _dm

_dm.oaCell.get(lib, name)