oaRouteMethod
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaRouteMethod 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaRouteMethod 当前在 oapy 中可用的 Python 接口。
详细说明
The oaRouteMethod class is an enum wrapper that describes the different styles of routing that may be done to a given oaTerm or oaInstTerm 。 This may be used to control which router is used to route the connection。 See oaBitTerm::getRouteMethod and oaInstTerm::getRouteMethod for its usage。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaRouteMethodEnum Enumeration values: oacGeometricRouteMethod "geometric" A geometric route should be used here。 This is typically used for power ground and custom designed wiring。 oacSymbolicRouteMethod "symbolic" A symbolic route should be used here。 This is used for normal signal connections。
构造函数
_design.oaRouteMethod(valueIn)
obj = _design.oaRouteMethod(valueIn)
_design.oaRouteMethod(name)
obj = _design.oaRouteMethod(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the string name that corresponds to an oaRouteMethodEnum value。
Python 示例
from oapy._oa import _design
# assume obj is a oaRouteMethod
obj.getName()
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function is deprecated。 Use the const version of oaRouteMethod:: getName instead。 This function returns the name string associated with the encapsulated oaRouteMethodEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaRouteMethod
obj.getName()