首页 / design / oaAnalysisOpPoint

oaAnalysisOpPoint

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

概览

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

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

详细说明

The oaAnalysisOpPoint class implements an object within an oaDesign that corresponds to a oaOpPoint object within an oaTech 。 The oaAnalysisOpPoint class can be observed by deriving from oaObserver

方法总览

状态 Python 调用
obj.destroy()
obj.isBound()
obj.getOpPoint()
obj.getHeader()
obj.getOpPointName(name)
obj.getAnalysisLibName(name)
_design.oaAnalysisOpPoint.create(analysisPoint, opPoint)

方法说明

obj.destroy()

绑定状态: 已绑定

Python 调用: obj.destroy()

This function deletes this analysisOpPoint。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.destroy()

obj.isBound()

绑定状态: 已绑定

Python 调用: obj.isBound()

This function returns a boolean indicating whether or not this analysisOpPoint is bound。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.isBound()

obj.getOpPoint()

绑定状态: 已绑定

Python 调用: obj.getOpPoint()

This function attempts to return the opPoint associated with this analysisOpPoint。 If the analysisOpPoint is bound, a pointer to the opPoint is returned。 Otherwise, NULL is returned。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.getOpPoint()

obj.getHeader()

绑定状态: 已绑定

Python 调用: obj.getHeader()

This function returns the opPointHeader associated with this analysisOpPoint。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.getHeader()

obj.getOpPointName(name)

绑定状态: 已绑定

Python 调用: obj.getOpPointName(name)

This function returns the name of the opPoint associated with this analysisOpPoint。

参数

  • name: returned name of the opPoint associated with this oaAnalysisOpPoint。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.getOpPointName(name)

obj.getAnalysisLibName(name)

绑定状态: 已绑定

Python 调用: obj.getAnalysisLibName(name)

This function returns the name of the oaAnalysisLib associated with this analysisOpPoint。

参数

  • name: returned name of the oaAnalysisLib associated with this oaAnalysisOpPoint。

Python 示例

from oapy._oa import _design

# assume obj is a oaAnalysisOpPoint
obj.getAnalysisLibName(name)

_design.oaAnalysisOpPoint.create(analysisPoint, opPoint)

绑定状态: 已绑定

Python 调用: _design.oaAnalysisOpPoint.create(analysisPoint, opPoint)

This function creates a new analysisOpPoint in the same design as analysisPoint to represent a reference to the opPoint operating point。 An exception is thrown if the analysisPoint references an opPoint from a technology database that is not included in the graph of referenced technology databases for the technology database currently bound to the design containing the analysisPoint。

参数

  • analysisPoint: The analysis point that is to reference the specified operating point。
  • opPoint: The operating point to be referenced by the specified analysis point。

异常

  • oacAnalysisOpPtOpPointNotInSameTech

Python 示例

from oapy._oa import _design

_design.oaAnalysisOpPoint.create(analysisPoint, opPoint)