首页 / dm / oaVCQueryDepth

oaVCQueryDepth

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

概览

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

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

详细说明

The oaVCQueryDepth class is an enum wrapper class for oaVCQueryDepthEnum values, which describe the depth that certain query functions should go down the library hierarchy。 The oaVCQueryDepthEnum value meanings are as follows: oacFileVCQueryDepth: query only the immediate children files of this container oacCellVCQueryDepth: stop the query at the Cell level, not including "cell files" oacViewVCQueryDepth: stop the query at the View level, not including "view files" oacCellViewVCQueryDepth: stop the query at the CellView level, not including "cellView" files oacCellViewFileVCQueryDepth: stop the query at the CellView file level。 This is currently the lowest level enum oaVCQueryDepthEnum This enumeration represents the depth to which the getControlledObjects function goes in responding to the call。 If the object that this depth applies to is an IDMLib, all values of depth are valid。 In this case, if the value oacCellVCQueryDepth is passed in, the resulting collection of IDMObjects will contain only the cells in the current library that are controlled by this VC system。 The value oacFileVCQueryDepth represents the files that are found at the container level (for example Lib files), while the value oacCellViewFileVCQueryDepth means go to the bottom-most file depth。 Enumeration values: oacFileVCQueryDepth "fileDepth" This depth represents the imediate child files of this container -- for example, if the container is a library that contains files, cells and views, this depth will only include the files。 oacCellVCQueryDepth "cellDepth" If the container is a library, this depth will include all of the cell objects owned by that library。 This level is cululative with previous levels, so it also will include files in this container。 oacViewVCQueryDepth "viewDepth" If the container is a library, this depth will include all of the view objects owned by that library。 This level is cululative with previous levels, so it also will include cells and files in this container。 oacCellViewVCQueryDepth "cellViewDepth" If the container is a library, this depth will include all of the cellView objects owned by that library。 This level is cululative with previous levels, so it also will include cells, views and files in this container。 oacCellViewFileVCQueryDepth "cellViewFileDepth" This level is used to indicate that the operation should be recursive to the lowest levels of the library hierarchy - the cellView file。 Use of this depth with any container will cause all decendents of that container also to be selected for that operation。 oacMaxQueryDepth。

构造函数

_dm.oaVCQueryDepth(valueIn)

obj = _dm.oaVCQueryDepth(valueIn)

_dm.oaVCQueryDepth(name)

obj = _dm.oaVCQueryDepth(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name of the oaVCQueryDepthEnum value set on this oaVCQueryDepth wrapper object。

Python 示例

from oapy._oa import _dm

# assume obj is a oaVCQueryDepth
obj.getName()