首页 / tech / oaViaTopology

oaViaTopology

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

概览

oaViaTopologyoapy 中可用,可通过 _tech 模块访问。

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

详细说明

The oaViaTopology utility class represents a bound or unbound oaViaDef or oaViaVariant 。 The oaViaTopology object is used to fill an oaViaTopologyArray , which in turn is used to create oaViaTopologyArrayValue and oaViaTopology2DTblValue objects。 Both of these value types are used for the specification of the oacValidRoutingVias constraint。

构造函数

_tech.oaViaTopology()

obj = _tech.oaViaTopology()

_tech.oaViaTopology(viaDefIn)

obj = _tech.oaViaTopology(viaDefIn)

_tech.oaViaTopology(viaVariantIn)

obj = _tech.oaViaTopology(viaVariantIn)

方法总览

状态 Python 调用
obj.init(viaDefIn)
obj.init(viaVariantIn)
obj.init(topologyName, ownerDB, typeIn)
obj.getName(name)
obj.getOwner()
obj.getViaDef()
obj.getViaVariant()
obj.getType()
obj.operator==(viaTopology)
obj.operator!=(viaTopology)
obj.operator==(viaTopology)
obj.operator!=(viaTopology)

方法说明

obj.init(viaDefIn)

绑定状态: 已绑定

Python 调用: obj.init(viaDefIn)

This version of the init function is used by OpenAccess to initialize an oaViaTopology object when the oaViaDef or oaViaVariant is not bound。

参数

  • topologyName: Name for the oaViaTopology object to initialize。
  • ownerDB: Owning database, either an oaDesign or an oaTech 。
  • typeIn: Type of the oaViaTopology object。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.init(viaDefIn)

obj.init(viaVariantIn)

绑定状态: 已绑定

Python 调用: obj.init(viaVariantIn)

This functions initializes this oaViaTopology object with the specified oaViaVariant 。

参数

  • viaVariantIn: Pointer to an oaViaVariant 。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.init(viaVariantIn)

obj.init(topologyName, ownerDB, typeIn)

绑定状态: 已绑定

Python 调用: obj.init(topologyName, ownerDB, typeIn)

This functions initializes this oaViaTopology object with the specified oaViaDef 。

参数

  • viaDefIn: Pointer to an oaViaDef。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.init(topologyName, ownerDB, typeIn)

obj.getName(name)

绑定状态: 已绑定

Python 调用: obj.getName(name)

This function returns the name of the oaViaVariant or oaViaDef in this oaViaTopology object。

参数

  • name: Returned name of the oaViaVariant or oaViaDef。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.getName(name)

obj.getOwner()

绑定状态: 已绑定

Python 调用: obj.getOwner()

This function returns the owner of a bound oaViaTopology object。 NULL is returned if the object is unbound。 Note: The pointer to the owner of the oaViaTopology object was set when the oaViaTopology object was created or when oaViaTopology::init() was called。 The object pointer might be invalid if the referenced object has been destroyed。 Applications should verify that pointers returned by getOwner are valid。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.getOwner()

obj.getViaDef()

绑定状态: 已绑定

Python 调用: obj.getViaDef()

This function returns the oaViaDef in this oaViaTopology object if the object type is oaViaDefTopology and the oaViaDef is bound。 Otherwise, this function returns NULL。 Note: The pointer to the oaViaDef object was set when the oaViaTopology object was created or when oaViaTopology::init() was called。 The object pointer might be invalid if the referenced object has been destroyed。 Applications should verify that pointers returned by getViaDef are valid。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.getViaDef()

obj.getViaVariant()

绑定状态: 已绑定

Python 调用: obj.getViaVariant()

This function returns the oaViaVariant in this oaViaTopology object if the object type is oaViaVariantTopology and the oaViaVariant is bound。 Otherwise this function returns NULL。 Note: The pointer to the oaViaVariant object was set when the oaViaTopology object was created or when oaViaTopology::init() was called。 The object pointer might be invalid if the referenced object has been destroyed。 Applications should verify that pointers returned by getViaVariant are valid。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.getViaVariant()

obj.getType()

绑定状态: 已绑定

Python 调用: obj.getType()

This function returns the oaViaTopologyType of this oaViaTopology object。

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.getType()

obj.operator==(viaTopology)

绑定状态: 已绑定

Python 调用: obj.operator==(viaTopology)

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.operator==(viaTopology)

obj.operator!=(viaTopology)

绑定状态: 已绑定

Python 调用: obj.operator!=(viaTopology)

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.operator!=(viaTopology)

obj.operator==(viaTopology)

绑定状态: 已绑定

Python 调用: obj.operator==(viaTopology)

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.operator==(viaTopology)

obj.operator!=(viaTopology)

绑定状态: 已绑定

Python 调用: obj.operator!=(viaTopology)

Python 示例

from oapy._oa import _tech

# assume obj is a oaViaTopology
obj.operator!=(viaTopology)