oaPcellLink
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaPcellLink 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaPcellLink 当前在 oapy 中可用的 Python 接口。
详细说明
The oaPcellLink class implements the link between OpenAccess and an application-provided Pcell evaluator implemented though the IPcell interfaces。 When the Pcell evaluator is provided in memory, the application must create the Pcell link using oaPcellLink::create() to register with OpenAccess。 For a Pcell evaluator provided through a plug-in module, oaPcellLink::find() and oaPcellLink::getPcellDef() can be used to access the Pcell evaluator in the plug-in module。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getIPcell() |
| ✅ | _design.oaPcellLink.find(name) |
| ✅ | _design.oaPcellLink.create(pcellIn) |
| ✅ | _design.oaPcellLink.getPcellDef(name) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys the oaPcellLink object and removes the link between OpenAccess and the application's Pcell evaluator。
Python 示例
from oapy._oa import _design
# assume obj is a oaPcellLink
obj.destroy()
obj.getIPcell()
绑定状态: 已绑定
Python 调用: obj.getIPcell()
This function returns the Pcell evaluator in this link。
Python 示例
from oapy._oa import _design
# assume obj is a oaPcellLink
obj.getIPcell()
_design.oaPcellLink.find(name)
绑定状态: 已绑定
Python 调用: _design.oaPcellLink.find(name)
This function returns an oaPcellLink for the specified Pcell evaluator。 This function attempts to find an existing link。 If an existing link is not found, a new one is created from the plug-in library。
参数
name: Name of the Pcell evaluator。
Python 示例
from oapy._oa import _design
_design.oaPcellLink.find(name)
_design.oaPcellLink.create(pcellIn)
绑定状态: 已绑定
Python 调用: _design.oaPcellLink.create(pcellIn)
This function creates the oaPcellLink object to associate with the Pcell evaluator given by the application。
参数
pcellIn: A pointer to the Pcell evaluator for which to create the link。
异常
oacPcellLinkExists。
Python 示例
from oapy._oa import _design
_design.oaPcellLink.create(pcellIn)
_design.oaPcellLink.getPcellDef(name)
绑定状态: 已绑定
Python 调用: _design.oaPcellLink.getPcellDef(name)
This function returns an oaPcellDef created through the specified Pcell evaluator。 If the given Pcell evaluator cannot be found, an oacPcellEvaluatorNotFound exception is thrown。
参数
name: Name of the Pcell evaluator。
异常
oacPcellEvaluatorNotFound。
Python 示例
from oapy._oa import _design
_design.oaPcellLink.getPcellDef(name)