首页 / design / oaPinConnectMethod

oaPinConnectMethod

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

概览

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

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

详细说明

The oaPinConnectMethod class is an enum wrapper class that describes the various ways that the pins for a given terminal may connect to their net。 See oaTerm::getPinConnectMethod for its usage。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaPinConnectMethodEnum Enumeration values: oacDefaultPinConnectMethod "default" oacRingPinConnectMethod "ring" oacAbutPinConnectMethod "abut" oacFeedthruPinConnectMethod "feedthru"。

构造函数

_design.oaPinConnectMethod(valIn)

obj = _design.oaPinConnectMethod(valIn)

_design.oaPinConnectMethod(name)

obj = _design.oaPinConnectMethod(name)

方法总览

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

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

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

Python 示例

from oapy._oa import _design

# assume obj is a oaPinConnectMethod
obj.getName()

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function is deprecated。 Refer to the const version of the getName function。 This function returns the name string associated with the encapsulated oaPinConnectMethodEnum object。

Python 示例

from oapy._oa import _design

# assume obj is a oaPinConnectMethod
obj.getName()