oaDMObjectVersionRef
模块: oapy._oa._dm
导入: from oapy._oa import _dm
概览
oaDMObjectVersionRef 在 oapy 中可用,可通过 _dm 模块访问。
本页汇总 oaDMObjectVersionRef 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDMObjectVersionRef represents a relationship between an oaDMObject and an oaVCVersion 。 It is used by the version control API functions to supply version information for a set of objects。 See also oaDMObjectVersionRefIter 。
构造函数
_dm.oaDMObjectVersionRef(obj, ver)
obj = _dm.oaDMObjectVersionRef(obj, ver)
_dm.oaDMObjectVersionRef(obj=NULL)
obj = _dm.oaDMObjectVersionRef(obj=NULL)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getObject() |
| ✅ | obj.getObject() |
| ✅ | obj.getVersion() |
| ✅ | obj.getVersion() |
方法说明
obj.getObject()
绑定状态: 已绑定
Python 调用: obj.getObject()
This function retrieves a pointer to the object in this class。 It can be called from a const instance of the oaDMObjectVersionRef。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectVersionRef
obj.getObject()
obj.getObject()
绑定状态: 已绑定
Python 调用: obj.getObject()
This function retrieves a reference to the object from this class。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectVersionRef
obj.getObject()
obj.getVersion()
绑定状态: 已绑定
Python 调用: obj.getVersion()
This function retrieves the version value from this class。 It can be called from a const instance of oaDMObjectVersionRef。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectVersionRef
obj.getVersion()
obj.getVersion()
绑定状态: 已绑定
Python 调用: obj.getVersion()
This function retrieves a reference to the version value from this class。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectVersionRef
obj.getVersion()