oaVCOperation
模块: oapy._oa._dm
导入: from oapy._oa import _dm
概览
oaVCOperation 在 oapy 中可用,可通过 _dm 模块访问。
本页汇总 oaVCOperation 当前在 oapy 中可用的 Python 接口。
详细说明
The oaVCOperation class is an enum wrapper class for oaVCOperationEnum values。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaVCOperationEnum This enumeration is a list of the operations to which a message passed through the IVCMessageObserver may be related。 The operation in effect at the time the message was issued is passed in the form of a value from this enum to the IVCMessageObserver::onMessageOut() function。 The values are self explanetory。 Enumeration values: oacVCOperationGetStatus "GetStatus" oacVCOperationGetControlledObjects "GetControlledObjects" oacVCOperationGetControlledLibs "GetControlledLibs" oacVCOperationGetVersions "GetVersions" oacVCOperationGetWorkingVersion "GetWorkingVersion" oacVCOperationGetWorkingVersions "GetWorkingVersions" oacVCOperationUpdate "Update" oacVCOperationMakeEditable "MakeEditable" oacVCOperationCancelEdit "CancelEdit" oacVCOperationCommitEdits "CommitEdits" oacVCOperationSetControlled "SetControlled" oacVCOperationUnsetControlled "UnsetControlled"。
构造函数
_dm.oaVCOperation(valueIn)
obj = _dm.oaVCOperation(valueIn)
_dm.oaVCOperation(name)
obj = _dm.oaVCOperation(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name of the oaVCOperationEnum value set on this oaVCOperation wrapper object。
Python 示例
from oapy._oa import _dm
# assume obj is a oaVCOperation
obj.getName()