oaCompatibilityError
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaCompatibilityError 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaCompatibilityError 当前在 oapy 中可用的 Python 接口。
详细说明
The oaCompatiblityError class represents the exceptions that OpenAccess throws when it detects features in a database that are not supported by the version of OpenAccess the application is running against。 The message string associated with an oaCompatibilityError is generated in one of two formats: message ID (oacDataNotCompatibleOnOpen|oacDataNotCompatibleOnOpenInAppendMode), dbtype ("Design|Tech|Wafer"), dataModelBuildName "built against" appBuildName message ID (oacDataNotCompatibleOnOpen|oacDataNotCompatibleOnOpenInAppendMode), dbtype ("Design|Tech|Wafer"), dataModelBuildName "running with" kitBuildName) See Compatibility for OpenAccess Applications and Data in the Programmers Guide for more information。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getAppBuildName() |
| ✅ | obj.getKitBuildName() |
| ✅ | obj.getDataModelBuildName() |
| ✅ | obj.getDatabaseName() |
| ✅ | obj.getAppDataModelRev() |
| ✅ | obj.getKitDataModelRev() |
| ✅ | obj.getDBDataModelRev() |
| ✅ | obj.getFeatures() |
方法说明
obj.getAppBuildName()
绑定状态: 已绑定
Python 调用: obj.getAppBuildName()
This function returns the name of the OpenAccess build that the application is built against。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getAppBuildName()
obj.getKitBuildName()
绑定状态: 已绑定
Python 调用: obj.getKitBuildName()
This function returns the name of the OpenAccess kit that this application is running with。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getKitBuildName()
obj.getDataModelBuildName()
绑定状态: 已绑定
Python 调用: obj.getDataModelBuildName()
This function returns the name of the earliest OpenAccess build that supports the data model for the new data。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getDataModelBuildName()
obj.getDatabaseName()
绑定状态: 已绑定
Python 调用: obj.getDatabaseName()
This function returns the user-friendly name of the database that generated this error。 Some examples are as follows: design lib/cell/view technology database in library lib wafer lib/cell/view。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getDatabaseName()
obj.getAppDataModelRev()
绑定状态: 已绑定
Python 调用: obj.getAppDataModelRev()
This function returns the data model revision of the database。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getAppDataModelRev()
obj.getKitDataModelRev()
绑定状态: 已绑定
Python 调用: obj.getKitDataModelRev()
This function returns the data model revision that the OpenAccess shared library supports。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getKitDataModelRev()
obj.getDBDataModelRev()
绑定状态: 已绑定
Python 调用: obj.getDBDataModelRev()
This function returns the database data model revision that triggered this error。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getDBDataModelRev()
obj.getFeatures()
绑定状态: 已绑定
Python 调用: obj.getFeatures()
This function returns the array of features that caused this compatibility exception to be thrown by OpenAccess。
Python 示例
from oapy._oa import _base
# assume obj is a oaCompatibilityError
obj.getFeatures()