首页 / design / oaDesignAttrType

oaDesignAttrType

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

概览

oaDesignAttrTypeoapy 中可用,可通过 _design 模块访问。

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

详细说明

The oaDesignAttrType class is an enum wrapper class for the different attributes of an oaDesign object that can be referenced by an oaAttrDisplay associated with an oaDesign or oaInstAttrDisplay 。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaDesignAttrTypeEnum Enumeration values: oacLibNameDesignAttrType "libName" oacCellNameDesignAttrType "cellName" oacViewNameDesignAttrType "viewName" oacCellTypeDesignAttrType "cellType" oacLastSavedTimeDesignAttrType "lastSavedTime"。

构造函数

_design.oaDesignAttrType(valueIn)

obj = _design.oaDesignAttrType(valueIn)

_design.oaDesignAttrType(name)

obj = _design.oaDesignAttrType(name)

_design.oaDesignAttrType(attr)

obj = _design.oaDesignAttrType(attr)

方法总览

状态 Python 调用
obj.getName()
obj.getValue()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name string associated with the encapsulated oaDesignAttrTypeEnum object。

Python 示例

from oapy._oa import _design

# assume obj is a oaDesignAttrType
obj.getName()

obj.getValue()

绑定状态: 已绑定

Python 调用: obj.getValue()

This operator casts this oaDesignAttrType object into the corresponding oaDesignAttrTypeEnum value。

Python 示例

from oapy._oa import _design

# assume obj is a oaDesignAttrType
obj.getValue()