首页 / design / oaOccDot

oaOccDot

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

概览

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

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

详细说明

The oaOccDot class implements an unique occurrence of an oaDot object in a design hierarchy。

方法总览

状态 Python 调用
obj.getLocation(point)
obj.getWidth()
obj.getHeight()

方法说明

obj.getLocation(point)

绑定状态: 已绑定

Python 调用: obj.getLocation(point)

This function fills out 'location' with the location of this occDot。

参数

  • point: The point to be filled with the location of this occDot。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccDot
obj.getLocation(point)

obj.getWidth()

绑定状态: 已绑定

Python 调用: obj.getWidth()

This function returns the width of this occDot。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccDot
obj.getWidth()

obj.getHeight()

绑定状态: 已绑定

Python 调用: obj.getHeight()

This function returns the height of this occDot。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccDot
obj.getHeight()