oaAntennaArea
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaAntennaArea 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaAntennaArea 当前在 oapy 中可用的 Python 接口。
详细说明
The oaAntennaArea class implements an object for holding antennaArea data。 This data includes an area value in square database units and an optional layer number。 If the layer number is oacNullIndex, the area is interpreted as applying to all layers。
构造函数
_tech.oaAntennaArea(areaIn=0u, layerNumIn=oacAnyLayerNum)
obj = _tech.oaAntennaArea(areaIn=0u, layerNumIn=oacAnyLayerNum)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.area() |
| ✅ | obj.layerNum() |
| ✅ | obj.area() |
| ✅ | obj.layerNum() |
| ✅ | obj.operator==(value) |
| ✅ | obj.operator!=(value) |
方法说明
obj.area()
绑定状态: 已绑定
Python 调用: obj.area()
This const version of the area() function allows users to get the area value of this oaAntennaArea object。
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.area()
obj.layerNum()
绑定状态: 已绑定
Python 调用: obj.layerNum()
This const version of the layerNum() function allows users to get the oaLayerNum of this oaAntennaArea object。
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.layerNum()
obj.area()
绑定状态: 已绑定
Python 调用: obj.area()
This non-const version of the area() function, which returns a reference to the area value, allows users to set the area value on this oaAntennaArea object。
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.area()
obj.layerNum()
绑定状态: 已绑定
Python 调用: obj.layerNum()
This non-const version of the layerNum() function, which returns a reference to its oaLayerNum, allows users to set the oaLayerNum on this oaAntennaArea object。
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.layerNum()
obj.operator==(value)
绑定状态: 已绑定
Python 调用: obj.operator==(value)
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.operator==(value)
obj.operator!=(value)
绑定状态: 已绑定
Python 调用: obj.operator!=(value)
Python 示例
from oapy._oa import _tech
# assume obj is a oaAntennaArea
obj.operator!=(value)