首页 / cms / oaTransientMarkerChangeRec

oaTransientMarkerChangeRec

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

概览

oaTransientMarkerChangeRecoapy 中可用,可通过 _cms 模块访问。

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

详细说明

The oaTransientMarkerChangeRec class represents a marker type change record that is not exported。 As an example, an oaTransientMarkerChangeRec object is used when incrementally exporting a change set。 This marker indicates the point at which the change set was last exported。

构造函数

_cms.oaTransientMarkerChangeRec(changeSetIn, typeIn, dbRef)

obj = _cms.oaTransientMarkerChangeRec(changeSetIn, typeIn, dbRef)

方法总览

状态 Python 调用
obj.clone()
obj.accept(visitor, forward=true)

方法说明

obj.clone()

绑定状态: 已绑定

Python 调用: obj.clone()

This function creates an exact copy of the specified oaTransientMarkerChangeRec, including an identical timestamp。 实现 oaMarkerChangeRec。

Python 示例

from oapy._oa import _cms

# assume obj is a oaTransientMarkerChangeRec
obj.clone()

obj.accept(visitor, forward=true)

绑定状态: 已绑定

Python 调用: obj.accept(visitor, forward=true)

This function accepts a change record visitor to allow access to the change record。 It calls the visit function of the specified visitor on this object。 The forward parameter indicates the direction in which the change records are being visited。 The forward parameter might be set to false if the goal of the visit is to roll back changes due to an undo command。 实现 oaMarkerChangeRec。

参数

  • visitor: A pointer to the change record visitor to call on this object。
  • forward: Specifies the direction in which change records are being visited。

Python 示例

from oapy._oa import _cms

# assume obj is a oaTransientMarkerChangeRec
obj.accept(visitor, forward=true)