首页 / dm / oaLibDefListMem

oaLibDefListMem

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

概览

oaLibDefListMemoapy 中可用,可通过 _dm 模块访问。

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

详细说明

oaLibDefListMem is a base class that represents a member in a oaLibDefList 。 It has two derived classes: oaLibDef , which represents a library definition, and oaLibDefListRef , which represents a reference to another lib def list。 For a sample user routine that gets and iterates through all the oaLibDefListMems in an oaLibDefList passed to the routine in order to process all the library definitions found in the user's library definition file hierarchy, see oaLibDefList::getMembers 。

方法总览

状态 Python 调用
obj.getList()
obj.moveAfter(member)
obj.moveToFirst()
obj.moveToLast()
obj.destroy()

方法说明

obj.getList()

绑定状态: 已绑定

Python 调用: obj.getList()

This function returns the oaLibDefList which contains this member object。

Python 示例

from oapy._oa import _dm

# assume obj is a oaLibDefListMem
obj.getList()

obj.moveAfter(member)

绑定状态: 已绑定

Python 调用: obj.moveAfter(member)

This function moves this oaLibDefListMem object after the specified member in the owning oaLibDefList 。

参数

  • member: input parameter - The list member that this object will be moved after。

异常

  • oacInvalidLibDefListMemMove

Python 示例

from oapy._oa import _dm

# assume obj is a oaLibDefListMem
obj.moveAfter(member)

obj.moveToFirst()

绑定状态: 已绑定

Python 调用: obj.moveToFirst()

This function moves this oaLibDefListMem object to the first position in the owning oaLibDefList 。

Python 示例

from oapy._oa import _dm

# assume obj is a oaLibDefListMem
obj.moveToFirst()

obj.moveToLast()

绑定状态: 已绑定

Python 调用: obj.moveToLast()

This function moves this oaLibDefListMem object to the last position in the owning oaLibDefList 。

Python 示例

from oapy._oa import _dm

# assume obj is a oaLibDefListMem
obj.moveToLast()

obj.destroy()

绑定状态: 已绑定

Python 调用: obj.destroy()

This function destroys this oaLibDefListMem object。

Python 示例

from oapy._oa import _dm

# assume obj is a oaLibDefListMem
obj.destroy()