首页 / design / oaStdViaHeader

oaStdViaHeader

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

概览

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

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

详细说明

The oaStdViaHeader class implements an oaViaHeader object that contains information about a standard viaDef and all of the standard vias in a design that use it。 An oaStdVia has a fixed number of parameters that can be set using an oaViaParam object。 A discussion of the role oaViaHeader objects in the context of the oaStdVia objects they reference can be found in the Representing Vias in OpenAccess section of the Programmers Guide。

方法总览

状态 Python 调用
obj.getParams(params)

方法说明

obj.getParams(params)

绑定状态: 已绑定

Python 调用: obj.getParams(params)

This function fills params with the standard via parameters associated with this viaHeader。 If the header is a superheader, the parameters returned are the baseline default parameters from the standard viaDef。 If the header is a subheader, the parameters returned are those used to create the oaStdVia objects referenced by the header。

Python 示例

from oapy._oa import _design

# assume obj is a oaStdViaHeader
obj.getParams(params)